Project Date
NLTEST 13 Feb 2023, 04:52

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
src/test/java/InspireTest/ngr/T02_Services.feature 18356 0 0 0 0 18356 353 0 353 5m 23s 269ms Passed
Tags: @step1
Feature src/test/java/InspireTest/ngr/T02_Services.feature
get details
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:06.885 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
1s 100ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bef46033-ce69-4ce4-b853-4ab65f6a424d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 1s 071ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bef46033-ce69-4ce4-b853-4ab65f6a424d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 003ms
* print connectUrl 000ms
04:51:07.977 [print] https://haleconnect.com/ows/services/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:51:07.979 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:07.981 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:07.982 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:07.983 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:07.984 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=917b5ba0-4fdd-4654-8c18-b3ccdadaa55a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:07.987 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:07.989 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:07.991 [print] "true";"true" 
* eval db.writeln('"bef46033-ce69-4ce4-b853-4ab65f6a424d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bef46033-ce69-4ce4-b853-4ab65f6a424d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bef46033-ce69-4ce4-b853-4ab65f6a424d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
010ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:06.871 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 008ms
Tags: @step1
1s 033ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '95e2c712-1b91-4f24-9453-c56b95227717' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 1s 001ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 005ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:07.900 [print] https://data.rivm.nl/geo/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:07.901 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:07.903 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:07.903 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:07.904 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:07.905 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:07.907 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:07.911 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:07.913 [print] "true";"true";"true" 
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 002ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
007ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:06.866 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 005ms
Tags: @step1
999ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e2cb7d4-934a-437a-809e-fda67b4a8824' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 961ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e2cb7d4-934a-437a-809e-fda67b4a8824' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:51:07.850 [print] https://inspire.caris.nl/geoserver/eez/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:07.852 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:07.853 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:07.854 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:07.856 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:07.857 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3296af93-cc8c-4a24-9356-1f68a57db712#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:07.860 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:07.862 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:07.864 [print] "true";"true" 
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 009ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:06.885 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
1s 054ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1887e931-e1b9-4512-9ca2-61526439fd7b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 1s 027ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1887e931-e1b9-4512-9ca2-61526439fd7b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:07.931 [print] https://haleconnect.com/ows/services/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:07.932 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:07.934 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:07.935 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:07.937 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:07.938 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cfc800cb-e903-4364-9415-ddd3e0ecf49f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:07.941 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:07.943 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:07.944 [print] "true";"true" 
* eval db.writeln('"1887e931-e1b9-4512-9ca2-61526439fd7b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1887e931-e1b9-4512-9ca2-61526439fd7b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"1887e931-e1b9-4512-9ca2-61526439fd7b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:07.878 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
920ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 894ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:08.787 [print] https://inspire.caris.nl/gs5/am/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:08.788 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:08.790 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:08.790 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:08.792 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:08.792 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:08.795 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:08.796 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:08.798 [print] "true";"true" 
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:07.920 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
910ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:08.822 [print] https://www.broinspireservices.nl/wms/ossosgm-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:08.823 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:08.824 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:08.824 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:08.826 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:08.826 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:08.829 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:08.830 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:08.832 [print] "true";"false" 
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:07.950 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
921ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8dcae920-002d-451d-9cef-cd4498358770' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 899ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8dcae920-002d-451d-9cef-cd4498358770' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:08.862 [print] https://service.pdok.nl/rvo/mosselenoesterhabitats/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:08.863 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:08.864 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:08.865 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:08.866 [print] Beheer PDOK 
* print operateson 000ms
04:51:08.867 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:08.869 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:08.871 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:08.873 [print] "true";"true" 
* eval db.writeln('"8dcae920-002d-451d-9cef-cd4498358770","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8dcae920-002d-451d-9cef-cd4498358770","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8dcae920-002d-451d-9cef-cd4498358770","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:07.997 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'de93b602-8cbf-4cf0-9ce6-1b201e230ef1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'de93b602-8cbf-4cf0-9ce6-1b201e230ef1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:08.893 [print] https://haleconnect.com/ows/services/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:08.894 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
04:51:08.897 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:08.898 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:08.899 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:08.900 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cfc800cb-e903-4364-9415-ddd3e0ecf49f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:08.902 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:08.903 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:08.905 [print] true 
* eval db.writeln('"de93b602-8cbf-4cf0-9ce6-1b201e230ef1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"de93b602-8cbf-4cf0-9ce6-1b201e230ef1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"de93b602-8cbf-4cf0-9ce6-1b201e230ef1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:08.805 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:09.695 [print] https://inspire.caris.nl/gs5/am/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:09.695 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:09.696 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 002ms
04:51:09.699 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:09.700 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:09.701 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:09.702 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:09.704 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:09.705 [print] "true";"true" 
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:08.837 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ad9e37cb-537f-4d98-8c03-820ee2d872d6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ad9e37cb-537f-4d98-8c03-820ee2d872d6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:09.750 [print] https://haleconnect.com/ows/services/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:09.751 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:09.751 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:09.752 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:09.752 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:09.753 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c48322f-f9cf-4a08-aa63-c4de080c13aab#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:09.754 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:09.755 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:09.757 [print] true 
* eval db.writeln('"ad9e37cb-537f-4d98-8c03-820ee2d872d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ad9e37cb-537f-4d98-8c03-820ee2d872d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ad9e37cb-537f-4d98-8c03-820ee2d872d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:08.878 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
936ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '604d241d-6792-4286-bbef-44b2ce5c38cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 906ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '604d241d-6792-4286-bbef-44b2ce5c38cc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 001ms
04:51:09.801 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:09.803 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:09.804 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:09.805 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:09.807 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:09.807 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=604d241d-6792-4286-bbef-44b2ce5c38c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:09.810 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"Technical Guidance for the implementation of INSPIRE Download Services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:09.812 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:09.814 [print] "true";"true" 
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:08.911 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
952ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 927ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:09.851 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Maritieme-grenzen-Noordzee.gml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:09.852 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:09.854 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:09.854 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:09.855 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:09.856 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:09.858 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:09.860 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:09.861 [print] "true";"true" 
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 004ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:09.709 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
922ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ae0ebeb6-198e-11ed-861d-0242ac120001' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 901ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ae0ebeb6-198e-11ed-861d-0242ac120001' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:10.622 [print] https://coverage.wetransform.eu/rws/hoogte_nl_1m/ows?SERVICE=WMS&Request=GetCapabilities&VERSION=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:10.623 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:10.625 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:10.625 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:10.626 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:10.626 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a27e77af-5ce3-4af6-ab47-9b4231b3560f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:10.629 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:10.630 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:10.632 [print] "true";"true" 
* eval db.writeln('"ae0ebeb6-198e-11ed-861d-0242ac120001","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ae0ebeb6-198e-11ed-861d-0242ac120001","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ae0ebeb6-198e-11ed-861d-0242ac120001","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:09.761 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
929ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5e5d713c-e89d-441f-a848-9e4fe5d48400' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5e5d713c-e89d-441f-a848-9e4fe5d48400' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:10.672 [print] https://haleconnect.com/ows/services/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:10.674 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:10.675 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:10.675 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 004ms
04:51:10.676 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:10.681 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=917b5ba0-4fdd-4654-8c18-b3ccdadaa55a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:10.683 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:10.684 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:10.686 [print] true 
* eval db.writeln('"5e5d713c-e89d-441f-a848-9e4fe5d48400","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 006ms
* eval db.writeln('"5e5d713c-e89d-441f-a848-9e4fe5d48400","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5e5d713c-e89d-441f-a848-9e4fe5d48400","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:09.822 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
934ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f00cd4f5-03e7-494f-8410-d07acf2247b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 910ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f00cd4f5-03e7-494f-8410-d07acf2247b1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:10.744 [print] https://service.pdok.nl/rvo/mosselenoesterhabitats/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:10.746 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:10.747 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:10.748 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:10.750 [print] Beheer PDOK 
* print operateson 000ms
04:51:10.751 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:10.753 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:10.755 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:10.756 [print] "true";"true" 
* eval db.writeln('"f00cd4f5-03e7-494f-8410-d07acf2247b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 002ms
* eval db.writeln('"f00cd4f5-03e7-494f-8410-d07acf2247b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f00cd4f5-03e7-494f-8410-d07acf2247b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:09.877 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
928ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6583e403-d2a4-4d2b-8499-b88a62adbda7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 901ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6583e403-d2a4-4d2b-8499-b88a62adbda7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:10.794 [print] https://haleconnect.com/ows/services/org.292.5c3d9005-8887-44d9-a72e-96cd0a7fffe4_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:10.796 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:10.798 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:10.798 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:10.800 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:10.801 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6b574ba3-3b1c-4f29-a631-0f160713d96d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:10.803 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:10.805 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:10.807 [print] "true";"true" 
* eval db.writeln('"6583e403-d2a4-4d2b-8499-b88a62adbda7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6583e403-d2a4-4d2b-8499-b88a62adbda7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"6583e403-d2a4-4d2b-8499-b88a62adbda7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:10.637 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1492fa63-96e2-406d-9a27-6affe281d848' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1492fa63-96e2-406d-9a27-6affe281d848' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:11.533 [print] https://inspire.caris.nl/geoserver/tz/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:11.534 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:11.535 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:11.536 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:11.537 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:11.537 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7fed469a-77e1-4545-a4cb-eedf389d851f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:11.540 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:11.541 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:11.543 [print] "true";"true" 
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:10.698 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
923ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 901ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:11.612 [print] https://inspire.caris.nl/geoserver/eez/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:11.613 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:11.614 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 002ms
04:51:11.614 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:11.622 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:11.622 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3296af93-cc8c-4a24-9356-1f68a57db712#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:11.625 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:11.626 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:11.627 [print] "true";"true" 
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:10.771 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
907ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:11.673 [print] https://www.broinspireservices.nl/wms/ossobor-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:11.674 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:11.675 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:11.675 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:11.676 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:11.677 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:11.679 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:11.680 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:11.681 [print] "true";"false" 
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:10.821 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 870ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:11.706 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/view_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:11.707 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:11.708 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:11.709 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:11.710 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:51:11.710 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:11.713 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:11.715 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:11.716 [print] "false";"true";"true" 
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:11.548 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
922ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '745968a3-37af-4406-988e-ec595f58c7fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 901ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe' 005ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:12.464 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:12.465 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:12.466 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:12.466 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:12.467 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:12.467 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:12.469 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:12.470 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:12.471 [print] "true";"true";"true" 
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:11.633 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
916ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 898ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:12.543 [print] https://inspire.caris.nl/geoserver/cz/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:12.544 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:12.544 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:12.545 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:12.546 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:12.546 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=424c1d5c-063b-4372-99f5-c85786b4a9d0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:12.548 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:12.549 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:12.550 [print] "true";"true" 
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:11.685 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:12.582 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:12.583 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:12.584 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:12.584 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:12.585 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:12.586 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:12.588 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:12.589 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:12.590 [print] "false";"false" 
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:11.721 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
929ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:12.620 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 003ms
* print protocol1 000ms
04:51:12.624 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 007ms
* print protocol2 000ms
04:51:12.631 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:12.631 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:12.632 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:12.633 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:12.634 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:12.636 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:12.637 [print] "true";"true" 
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 008ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 009ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:12.476 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 901ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:13.387 [print] https://inspire.caris.nl/gs5/MarineRegion/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:13.388 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:13.388 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:13.389 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:13.390 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:13.390 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:13.391 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:13.393 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:13.394 [print] "true";"true" 
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:12.554 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
919ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d983730-e750-485a-9c0c-39bf9bt72cf8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 899ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d983730-e750-485a-9c0c-39bf9bt72cf8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:13.463 [print] https://downloads.rijkswaterstaatdata.nl/bodemhoogte_5mtr_atom_index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
04:51:13.466 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:13.467 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:13.468 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:13.469 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:13.470 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:13.472 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:13.473 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:13.474 [print] "true";"true" 
* eval db.writeln('"9d983730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d983730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d983730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:12.595 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
927ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 911ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:13.515 [print] https://data.rivm.nl/geo/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:13.516 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:13.517 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:13.517 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:13.518 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:13.518 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:13.520 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:13.521 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:13.522 [print] "false";"false" 
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:12.662 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '63aecda1-2216-4100-96dc-6bede78f9813' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '63aecda1-2216-4100-96dc-6bede78f9813' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:13.558 [print] https://haleconnect.com/ows/services/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:13.559 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:13.560 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:13.560 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:13.561 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:13.561 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c48322f-f9cf-4a08-aa63-c4de080c13aab#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:13.563 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:13.564 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:13.566 [print] "true";"true" 
* eval db.writeln('"63aecda1-2216-4100-96dc-6bede78f9813","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"63aecda1-2216-4100-96dc-6bede78f9813","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"63aecda1-2216-4100-96dc-6bede78f9813","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:13.398 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
937ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 922ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:14.330 [print] https://service.pdok.nl/kadaster/adressen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:14.330 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:14.331 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:14.331 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:14.332 [print] Beheer PDOK 
* print operateson 000ms
04:51:14.332 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:14.334 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:14.335 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:14.336 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:13.479 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
916ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 897ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:14.386 [print] https://inspire.caris.nl/geoserver/boundary/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:14.387 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:14.387 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:14.388 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:14.389 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:14.389 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dc528841-cb0f-4962-83bc-5c84ca6c4926#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:14.391 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:14.392 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:14.393 [print] "true";"true" 
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 003ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:13.527 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
943ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '13c6144d-231b-4a52-91d5-edde65076aff' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 897ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '13c6144d-231b-4a52-91d5-edde65076aff' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:14.434 [print] https://haleconnect.com/ows/services/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:14.435 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:14.436 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:14.436 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:14.437 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:14.437 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2350b86b-3efd-47e4-883e-519bfa8d0abd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 021ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:14.461 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:14.462 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:14.464 [print] true 
* eval db.writeln('"13c6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"13c6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"13c6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 008ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:13.573 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 004ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
912ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 005ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 007ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:14.481 [print] https://inspire.caris.nl/geoserver/baselinews/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:14.483 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:14.484 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:14.485 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:14.486 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:14.486 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:14.488 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:14.489 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:14.491 [print] "true";"true" 
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:14.340 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
900ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:15.232 [print] https://data.rivm.nl/geo/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:15.233 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:15.234 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:15.235 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:15.236 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:15.236 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:15.238 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:15.240 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:15.241 [print] "false";"false" 
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:14.401 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 001ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:15.295 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/download_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:15.297 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:15.298 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:15.298 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:15.300 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:51:15.300 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:15.302 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:15.304 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:15.305 [print] "false";"true";"true" 
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:14.478 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 005ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
928ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 003ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2bd75565-db8b-4df7-a3a6-0e9ca5289e5e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2bd75565-db8b-4df7-a3a6-0e9ca5289e5e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:15.401 [print] https://haleconnect.com/ows/services/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:15.403 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:15.404 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:15.405 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:15.407 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:15.407 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2350b86b-3efd-47e4-883e-519bfa8d0abd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:15.410 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:15.412 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:15.413 [print] "true";"true" 
* eval db.writeln('"2bd75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2bd75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2bd75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
012ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:14.506 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 008ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
934ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd9227c23-9d36-46ce-8ac9-a208103c218e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd9227c23-9d36-46ce-8ac9-a208103c218e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 012ms
* print connectUrl 000ms
04:51:15.441 [print] https://haleconnect.com/ows/services/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:51:15.444 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
04:51:15.446 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:15.446 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:15.448 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:15.449 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cefad637-5ffd-4dd0-b475-bc125a11f7ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:15.451 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:15.452 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:15.454 [print] "true";"true" 
* eval db.writeln('"d9227c23-9d36-46ce-8ac9-a208103c218e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d9227c23-9d36-46ce-8ac9-a208103c218e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d9227c23-9d36-46ce-8ac9-a208103c218e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
009ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:15.255 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 006ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:16.160 [print] https://inspire.caris.nl/geoserver/cz/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:16.161 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:16.162 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:16.163 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:16.164 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:16.164 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=424c1d5c-063b-4372-99f5-c85786b4a9d0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:16.166 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:16.167 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:16.168 [print] "true";"true" 
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:15.314 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 003ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:16.214 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:16.215 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:16.217 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:16.218 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:16.219 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:16.219 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:16.221 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:51:16.223 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:16.225 [print] "true";"true";"true" 
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 003ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:15.431 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b2e66e8f-b1da-4de5-88d5-8aa8e6e00160' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 977ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b2e66e8f-b1da-4de5-88d5-8aa8e6e00160' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:16.422 [print] https://haleconnect.com/ows/services/org.292.f4520ae7-9229-4132-8d42-37b4f962212f_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:16.423 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:16.424 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:16.425 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:16.426 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:16.426 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f4520ae7-9229-4132-8d42-37b4f962212a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:51:16.429 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:16.431 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:16.432 [print] "true";"true" 
* eval db.writeln('"b2e66e8f-b1da-4de5-88d5-8aa8e6e00160","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b2e66e8f-b1da-4de5-88d5-8aa8e6e00160","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b2e66e8f-b1da-4de5-88d5-8aa8e6e00160","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:15.460 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
997ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 979ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:16.450 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:16.451 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:16.451 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:16.452 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:16.453 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:16.453 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:16.455 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:16.456 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:16.457 [print] "true";"true" 
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:16.172 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1009c2a4-4dba-49a5-b643-914ba8b80b52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1009c2a4-4dba-49a5-b643-914ba8b80b52' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:17.069 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:17.070 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:17.071 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:17.071 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:17.072 [print] KNMI 
* print operateson 000ms
04:51:17.072 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:17.074 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:17.075 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:17.076 [print] true 
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:16.232 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 003ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
957ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 934ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:17.183 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/gdr\/bodemhoogte_1mtr\/ows?service=WCS&request=getcapabilities&version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:17.184 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:17.185 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:17.186 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:17.187 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:17.188 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:17.190 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:17.192 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:17.194 [print] "false";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:16.437 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:17.338 [print] https://inspire.caris.nl/geoserver3/rws/wcs?service=WCS&version=2.0.1&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:17.339 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:17.340 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:17.340 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:17.341 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:17.342 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:17.344 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:17.346 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:17.347 [print] "true";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:16.462 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
919ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '43a37418-365c-4848-b885-5823259ca7c9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '43a37418-365c-4848-b885-5823259ca7c9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:17.372 [print] https://haleconnect.com/ows/services/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:17.373 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:17.375 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:17.375 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:17.377 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:17.377 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cefad637-5ffd-4dd0-b475-bc125a11f7ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:17.379 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:17.381 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:17.382 [print] true 
* eval db.writeln('"43a37418-365c-4848-b885-5823259ca7c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"43a37418-365c-4848-b885-5823259ca7c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"43a37418-365c-4848-b885-5823259ca7c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:17.080 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
918ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0426f471-f325-42ed-a775-81c397592e86' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 003ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:17.985 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:17.987 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:17.988 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:17.988 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:17.990 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:17.990 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 005ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:17.997 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:17.998 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:18.000 [print] "false";"false" 
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:17.198 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
912ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:18.089 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:18.090 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:18.092 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:18.093 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:18.094 [print] KNMI 
* print operateson 000ms
04:51:18.094 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 003ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:18.100 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:18.102 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:18.103 [print] true 
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 010ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:17.352 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
923ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 901ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:18.265 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:18.266 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:18.267 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
04:51:18.268 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:18.269 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:18.270 [print] https://haleconnect.com/services/bsp/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:18.272 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:18.273 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:18.275 [print] true 
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:17.389 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
923ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 902ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:18.302 [print] https://data.rivm.nl/geo/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:18.303 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:18.304 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:18.305 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:18.306 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:18.307 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:18.309 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:51:18.312 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:18.313 [print] "true";"true" 
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:18.004 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 003ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '49ff0584-a173-4098-824c-119edf8447f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 982ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:18.999 [print] https:\/\/services.rce.geovoorziening.nl\/rce\/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:19.000 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:19.001 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:19.001 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:19.002 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
04:51:19.002 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:19.005 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:19.007 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:19.009 [print] "true";"true" 
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:18.117 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
996ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 924ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:19.075 [print] https://acc.gdngeoservices.nl/geoserver/oliegas/ows?request=GetCapabilities&service=WMS&version=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:19.076 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:19.078 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:19.078 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:19.079 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:19.080 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 049ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:19.131 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:19.132 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:19.134 [print] "true";"false" 
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:18.286 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
912ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:19.185 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:19.186 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:19.187 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:19.188 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:19.189 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:19.189 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:19.191 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:19.192 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:19.194 [print] "true";"true" 
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 006ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:18.317 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
913ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c6308500-3439-4840-88cb-7532cabbfcb4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6308500-3439-4840-88cb-7532cabbfcb4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
04:51:19.218 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:19.219 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:19.220 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:19.221 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:19.222 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:19.223 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:19.225 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:19.226 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:19.228 [print] true 
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:19.014 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ce0a3f8e-6713-455f-805e-a067162c287d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce0a3f8e-6713-455f-805e-a067162c287d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:19.909 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:19.910 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:19.911 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:19.911 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:19.912 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:19.913 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:19.914 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:19.916 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:19.917 [print] true 
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:19.140 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:20.033 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:20.034 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:20.035 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:20.036 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:20.037 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:20.037 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:20.039 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:20.040 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:20.041 [print] true 
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
011ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:19.204 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 009ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
935ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e01d173-96f4-40b1-8236-c6a9cfdac252' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 902ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e01d173-96f4-40b1-8236-c6a9cfdac252' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:51:20.131 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:20.132 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:20.133 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:20.134 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:20.135 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:20.135 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:20.141 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:20.142 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:20.144 [print] true 
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 007ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:19.237 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
938ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d33772b-8bb4-4c9a-b5b4-07ada37694cd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 907ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d33772b-8bb4-4c9a-b5b4-07ada37694cd' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 004ms
04:51:20.162 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:20.163 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:20.165 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:20.165 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:20.167 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:20.168 [print] https://haleconnect.com/services/bsp/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:20.169 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 001ms
* print corConformanceTitles 000ms
04:51:20.173 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:20.174 [print] true 
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 002ms
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:19.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:20.814 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:20.815 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:20.816 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:20.817 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:20.818 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:20.818 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:20.820 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:20.821 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:20.822 [print] true 
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:20.045 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
906ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '12505d53-a942-467e-a462-ddbe5ac6467f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '12505d53-a942-467e-a462-ddbe5ac6467f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:20.941 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:20.942 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:20.943 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:20.943 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:20.945 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:20.945 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:20.947 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:20.949 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:20.950 [print] true 
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:20.158 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
886ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62b01550-9007-4634-b008-bd6071b34b2c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 867ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62b01550-9007-4634-b008-bd6071b34b2c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:21.038 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.1d098355-23c3-4bd3-adf6-192549933ec3?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:21.039 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:21.040 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:21.041 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:21.042 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:21.042 [print] https://haleconnect.com/services/bsp/org.874.1d098355-23c3-4bd3-adf6-192549933ec3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:21.044 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:21.045 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:21.046 [print] true 
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:20.180 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
926ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b145a28d-70fd-4a8e-9750-3865bbcc5bea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 907ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b145a28d-70fd-4a8e-9750-3865bbcc5bea' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:21.099 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:21.100 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:21.101 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:21.101 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:21.102 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:21.103 [print] https://haleconnect.com/services/bsp/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:21.105 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:21.106 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:21.108 [print] true 
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:20.827 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cf89409f-e268-4adb-9f34-a63b84ecfc12' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf89409f-e268-4adb-9f34-a63b84ecfc12' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:21.724 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:21.725 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:21.726 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:21.726 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:21.727 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:21.727 [print] https://haleconnect.com/services/bsp/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:21.729 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:21.731 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:21.733 [print] true 
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:20.956 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
886ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ff2a91df-931c-46fe-8f07-a1ec64e1335e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 868ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff2a91df-931c-46fe-8f07-a1ec64e1335e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:21.835 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:21.836 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:21.837 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:21.838 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:21.839 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:21.839 [print] https://haleconnect.com/services/bsp/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:21.841 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:21.843 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:21.844 [print] true 
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:21.050 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9de0d2fa-debc-4f27-8298-5399b7844962' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9de0d2fa-debc-4f27-8298-5399b7844962' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:21.940 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.1d098355-23c3-4bd3-adf6-192549933ec3?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:21.941 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:21.942 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:21.942 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:21.943 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:21.944 [print] https://haleconnect.com/services/bsp/org.874.1d098355-23c3-4bd3-adf6-192549933ec3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:21.946 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:21.947 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:21.948 [print] true 
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:21.112 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
916ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '604d241d-6792-4286-bbef-44b2ce5c38cb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 891ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '604d241d-6792-4286-bbef-44b2ce5c38cb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:22.018 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:22.019 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:22.020 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:22.020 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:22.022 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:22.022 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=604d241d-6792-4286-bbef-44b2ce5c38c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 001ms
* print corConformanceHref 000ms
04:51:22.026 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:22.027 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:22.028 [print] "true";"true" 
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"604d241d-6792-4286-bbef-44b2ce5c38cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:21.741 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:22.636 [print] https://data.rivm.nl/geo/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:22.638 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:22.639 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:22.639 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:22.640 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:22.641 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:22.643 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:22.644 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:22.646 [print] "true";"true";"true" 
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:21.848 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
915ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 891ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 003ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:22.755 [print] https://acc.gdngeoservices.nl/geoserver/zout/ows?request=GetCapabilities&service=WMS&version=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:22.757 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:22.758 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:22.758 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:22.759 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:22.760 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:22.762 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:22.763 [print] "Technical Guidance for the implementation of INSPIRE View Services";"De service voldoet niet aan de richtlijnen van INSPIRE vanwege technische beperkingen";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:22.764 [print] "false";"false" 
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:21.952 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 001ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
916ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f95af5dd-e469-43b5-8d67-e4511b29b66b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 895ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f95af5dd-e469-43b5-8d67-e4511b29b66b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:22.861 [print] https://service.pdok.nl/rvo/schelpdierpercelen/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:22.862 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:22.863 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:22.864 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:22.865 [print] Beheer PDOK 
* print operateson 000ms
04:51:22.866 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:22.868 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:22.869 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de interoperable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:22.871 [print] "true";"true";"true" 
* eval db.writeln('"f95af5dd-e469-43b5-8d67-e4511b29b66b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f95af5dd-e469-43b5-8d67-e4511b29b66b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f95af5dd-e469-43b5-8d67-e4511b29b66b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:22.034 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
912ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '17db4dd9-462f-4b9e-b14f-0004cacdafbb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17db4dd9-462f-4b9e-b14f-0004cacdafbb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:22.935 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:22.936 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:22.937 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:22.938 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:22.939 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:22.940 [print] https://haleconnect.com/services/bsp/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:22.942 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:22.944 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:22.945 [print] true 
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:22.650 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8a772a52-d659-47b3-a131-82398fb78664' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8a772a52-d659-47b3-a131-82398fb78664' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:23.544 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:23.545 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:23.546 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:23.546 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:23.547 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:23.547 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:23.549 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:23.550 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:23.551 [print] true 
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:22.769 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
922ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 902ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:23.684 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/hws\/wm\/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:23.685 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:23.686 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:23.686 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:23.687 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:23.688 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:23.689 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"Technical Guidance for the implementation of INSPIRE Download Services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:23.691 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:23.692 [print] "true";"true" 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:22.875 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2443309-c655-4e64-b914-149050fd479c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 872ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2443309-c655-4e64-b914-149050fd479c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:23.759 [print] https://haleconnect.com/ows/services/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:23.759 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:23.760 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:23.760 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:23.761 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:23.761 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=504afbe6-0069-411b-b69b-2aae3728f73a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:23.763 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:23.764 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:23.765 [print] "true";"true" 
* eval db.writeln('"f2443309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2443309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2443309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:22.952 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
940ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 906ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 015ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:23.885 [print] https://acc.gdngeoservices.nl/geoserver/geologicalmap/ows?request=GetCapabilities&service=WMS&version=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:23.886 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:23.887 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:23.888 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:23.889 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:23.889 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:23.891 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:23.892 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:23.894 [print] "true";"false" 
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:23.555 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
948ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 928ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:24.496 [print] https://inspire.caris.nl/geoserver3/rws/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:24.497 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:24.498 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:24.499 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:24.500 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:24.500 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:24.502 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:24.503 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:24.505 [print] "false";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:23.696 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
907ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:24.589 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:24.590 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:24.592 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:24.592 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:24.594 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:24.595 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:24.598 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:24.600 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:24.601 [print] "true";"true" 
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:23.769 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
913ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 002ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 001ms
04:51:24.671 [print] https://www.broinspireservices.nl/wfs/ossobor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:24.672 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:24.674 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:24.675 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:24.676 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:24.677 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:24.680 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:24.681 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:24.683 [print] "true";"true" 
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:23.900 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
910ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:24.802 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wcs?request=GetCapabilities&service=WCS&version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:24.803 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:24.804 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:24.805 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:24.806 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:24.807 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:24.809 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:24.810 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services 2.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:24.812 [print] "true";"true" 
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:24.509 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
914ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7f79fc69-d0c7-4913-a05a-527c90453297' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 897ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7f79fc69-d0c7-4913-a05a-527c90453297' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:25.417 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:25.418 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:25.419 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:25.419 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:25.420 [print] KNMI 
* print operateson 000ms
04:51:25.420 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:25.422 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:25.423 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:25.424 [print] true 
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:24.610 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 002ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:25.509 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:25.510 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:25.511 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:25.511 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:25.512 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:25.512 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:25.514 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:25.515 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:25.516 [print] "false";"false" 
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:24.689 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
913ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 894ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:25.599 [print] https://inspire.rivm.nl/sos/eaq/service?service=AQD&version=1.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:25.600 [print] OGC:SOS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:25.601 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:25.601 [print] OGC:SOS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:25.602 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:25.603 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:25.604 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:25.606 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Voldoet aan de download specificaties.";"OGC Sensor Observation Service Interface Standard";"Conform OGC SOS specificaties.";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Voldoet aan de SDS interoperabilities specificaties." 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:25.608 [print] "true";"true";"true" 
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:24.823 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b1910566-a591-4cce-838d-5ec9a836a786' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b1910566-a591-4cce-838d-5ec9a836a786' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:25.720 [print] https://haleconnect.com/ows/services/org.292.f4520ae7-9229-4132-8d42-37b4f962212f_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:25.721 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:25.722 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:25.722 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:25.724 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:25.724 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f4520ae7-9229-4132-8d42-37b4f962212a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:25.726 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:25.727 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:25.727 [print] true 
* eval db.writeln('"b1910566-a591-4cce-838d-5ec9a836a786","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b1910566-a591-4cce-838d-5ec9a836a786","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b1910566-a591-4cce-838d-5ec9a836a786","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:25.428 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:26.328 [print] https://inspire.caris.nl/geoserver/gnwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:26.329 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:26.330 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:26.330 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:26.331 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:26.331 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1c3450ea-e161-4f50-ad0e-97a36cdd1308#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:26.333 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:26.334 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:26.335 [print] "true";"true" 
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:25.520 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
907ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:26.418 [print] http://services.inspire-provincies.nl/EnvironmentalMonitoringFacilities/services/view_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:26.419 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:26.420 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:26.421 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:26.422 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:51:26.422 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:26.424 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:26.426 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:26.429 [print] "false";"true";"true" 
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:25.613 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
911ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:26.517 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:26.518 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:26.519 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:26.520 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:26.521 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:26.521 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:26.523 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:26.524 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:26.525 [print] "false";"false" 
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:25.731 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:26.622 [print] https://data.rivm.nl/geo/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:26.623 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 003ms
* print protocol2 000ms
04:51:26.627 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:26.627 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:26.628 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:26.628 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:26.631 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:26.634 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:26.636 [print] "false";"false" 
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:26.339 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 891ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:27.247 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw-inspire?request=GetCapabilities&Service=CSW&Version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:27.248 [print] OGC:CSW 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:27.249 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:27.250 [print] OGC:CSW 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:51:27.252 [print] Beheer PDOK 
* print operateson 000ms
04:51:27.252 [print] #notpresent 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:27.254 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-discovery-services-0" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:27.256 [print] "Deze service is conform INSPIRE richtlijn betreffende netwerkdiensten";"Deze service is conform INSPIRE richtlijn betreffende diensten met betrekking tot ruimtelijke gegevens";"Deze service is conform de Technical Guidance for INSPIRE Discovery Services" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:27.257 [print] "true";"true";"true" 
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:26.433 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '755d488b-7b94-4883-95be-6aa279604f85' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 876ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:27.319 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:27.320 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:27.321 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:27.321 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:27.322 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:27.322 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:27.324 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:27.325 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:27.326 [print] "true";"true";"true" 
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:26.529 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
892ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3d8c9463-a3da-401d-8251-8c6664865e0c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 873ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d8c9463-a3da-401d-8251-8c6664865e0c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:51:27.414 [print] https://haleconnect.com/ows/services/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:27.415 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:27.416 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:27.417 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:27.418 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:27.418 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=504afbe6-0069-411b-b69b-2aae3728f73a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:27.420 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:27.422 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:27.423 [print] true 
* eval db.writeln('"3d8c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3d8c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3d8c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:26.649 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3fa3aa0b-cd4a-4680-ad2e-89fc28411565' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3fa3aa0b-cd4a-4680-ad2e-89fc28411565' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:27.540 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:27.541 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:27.542 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:27.542 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:27.543 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:27.543 [print] https://haleconnect.com/services/bsp/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:27.544 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:27.545 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:27.546 [print] true 
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:27.261 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
911ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ae0ebeb6-198e-11ed-861d-0242ac120002' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 895ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ae0ebeb6-198e-11ed-861d-0242ac120002' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:28.166 [print] https://coverage.wetransform.eu/rws/hoogte_nl_1m/ows?SERVICE=WCS&REQUEST=GetCapabilities&VERSION=2.1.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:28.167 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:28.169 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:28.169 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:28.170 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:28.170 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a27e77af-5ce3-4af6-ab47-9b4231b3560f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:28.172 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:28.173 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:28.174 [print] "true";"true" 
* eval db.writeln('"ae0ebeb6-198e-11ed-861d-0242ac120002","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ae0ebeb6-198e-11ed-861d-0242ac120002","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ae0ebeb6-198e-11ed-861d-0242ac120002","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:27.330 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3e6e285e-f0f0-4bb8-b14f-a9d1b9ea62a7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e6e285e-f0f0-4bb8-b14f-a9d1b9ea62a7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:28.219 [print] https://service.pdok.nl/rvo/vogelrichtlijnsoorten/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:28.220 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:28.221 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:28.221 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:28.222 [print] Beheer PDOK 
* print operateson 000ms
04:51:28.222 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:28.224 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:28.225 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:28.226 [print] "true";"true" 
* eval db.writeln('"3e6e285e-f0f0-4bb8-b14f-a9d1b9ea62a7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3e6e285e-f0f0-4bb8-b14f-a9d1b9ea62a7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3e6e285e-f0f0-4bb8-b14f-a9d1b9ea62a7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:27.427 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 289ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76854ff3-a853-4405-b9fd-acef66460376' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 1s 015ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376' 018ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 032ms
* def title = get response //citation/CI_Citation/title/CharacterString 019ms
* def email = get response //electronicMailAddress/CharacterString 024ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 018ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 053ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 006ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 014ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 014ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:28.649 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsgebiedsoorten\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 006ms
* print protocol1 000ms
04:51:28.656 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 006ms
* print protocol2 001ms
04:51:28.664 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:28.664 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 008ms
* print organisationpath 000ms
04:51:28.674 [print] Beheer PDOK 
* print operateson 000ms
04:51:28.675 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 008ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 013ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:28.698 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 008ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:28.708 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 008ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:28.718 [print] "true";"true" 
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:27.550 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
943ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c50592e-57be-4d74-91fd-bcaee20bb14e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 902ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c50592e-57be-4d74-91fd-bcaee20bb14e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 009ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:28.473 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2022/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:28.475 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 010ms
04:51:28.487 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:28.487 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:28.489 [print] Beheer PDOK 
* print operateson 000ms
04:51:28.489 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:28.491 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:28.492 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:28.494 [print] "true";"true" 
* eval db.writeln('"9c50592e-57be-4d74-91fd-bcaee20bb14e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c50592e-57be-4d74-91fd-bcaee20bb14e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c50592e-57be-4d74-91fd-bcaee20bb14e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:28.178 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '684e1468-ec03-43ee-9f52-94236f187d8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 901ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684e1468-ec03-43ee-9f52-94236f187d8d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:29.092 [print] https://service.pdok.nl/cbs/statisticalunitsvector/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:29.092 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:29.093 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:29.094 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:29.094 [print] Beheer PDOK 
* print operateson 000ms
04:51:29.095 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:29.096 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:29.098 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de interoperable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:29.099 [print] "true";"true";"true" 
* eval db.writeln('"684e1468-ec03-43ee-9f52-94236f187d8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"684e1468-ec03-43ee-9f52-94236f187d8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"684e1468-ec03-43ee-9f52-94236f187d8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:28.230 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '282e4136-612a-4d00-baa2-ebd41721d150' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '282e4136-612a-4d00-baa2-ebd41721d150' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:29.125 [print] https://service.pdok.nl/cbs/statisticalunitsvector/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:29.126 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:29.127 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:29.128 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:51:29.131 [print] Beheer PDOK 
* print operateson 000ms
04:51:29.131 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:29.132 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:29.133 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:29.134 [print] "true";"true" 
* eval db.writeln('"282e4136-612a-4d00-baa2-ebd41721d150","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"282e4136-612a-4d00-baa2-ebd41721d150","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"282e4136-612a-4d00-baa2-ebd41721d150","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:28.507 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
915ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '150e3a18-44ed-43bd-b0fd-70ff7a3e6906' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '150e3a18-44ed-43bd-b0fd-70ff7a3e6906' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:29.417 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2016/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:29.418 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:29.419 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:29.419 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:29.420 [print] Beheer PDOK 
* print operateson 000ms
04:51:29.420 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:29.422 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:29.423 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:29.424 [print] "true";"true";"true" 
* eval db.writeln('"150e3a18-44ed-43bd-b0fd-70ff7a3e6906","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"150e3a18-44ed-43bd-b0fd-70ff7a3e6906","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"150e3a18-44ed-43bd-b0fd-70ff7a3e6906","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:28.722 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
910ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1b2e3afd-e5dd-4d05-aeee-a75091a76beb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 895ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1b2e3afd-e5dd-4d05-aeee-a75091a76beb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:29.628 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2016/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:29.628 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:29.629 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:29.629 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:29.630 [print] Beheer PDOK 
* print operateson 000ms
04:51:29.630 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:29.632 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:29.633 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:29.634 [print] "true";"true" 
* eval db.writeln('"1b2e3afd-e5dd-4d05-aeee-a75091a76beb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1b2e3afd-e5dd-4d05-aeee-a75091a76beb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1b2e3afd-e5dd-4d05-aeee-a75091a76beb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:29.102 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
912ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 898ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:30.010 [print] https://inspire.caris.nl/gs5/MarineRegion/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:30.011 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:30.012 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:30.012 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:30.013 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:30.013 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:30.015 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:30.016 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:30.016 [print] "true";"true" 
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:29.138 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '43bb4581-0720-426f-a771-b7f9ded50fd5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 892ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '43bb4581-0720-426f-a771-b7f9ded50fd5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:30.040 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2021/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
04:51:30.043 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:30.044 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:30.044 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:30.045 [print] Beheer PDOK 
* print operateson 000ms
04:51:30.046 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:30.047 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:30.048 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:30.049 [print] "true";"true" 
* eval db.writeln('"43bb4581-0720-426f-a771-b7f9ded50fd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"43bb4581-0720-426f-a771-b7f9ded50fd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"43bb4581-0720-426f-a771-b7f9ded50fd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:29.427 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '991033b9-73de-4abb-9e5e-269a39152852' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '991033b9-73de-4abb-9e5e-269a39152852' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:30.316 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2020/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:30.317 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:30.318 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:30.318 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:30.319 [print] Beheer PDOK 
* print operateson 000ms
04:51:30.319 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:30.321 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:30.322 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:30.323 [print] "true";"true" 
* eval db.writeln('"991033b9-73de-4abb-9e5e-269a39152852","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"991033b9-73de-4abb-9e5e-269a39152852","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"991033b9-73de-4abb-9e5e-269a39152852","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:29.637 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c4c9bbc-4746-414b-9599-b67db6de1d6d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4c9bbc-4746-414b-9599-b67db6de1d6d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:30.533 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2021/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:30.534 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:30.535 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:30.535 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:30.536 [print] Beheer PDOK 
* print operateson 000ms
04:51:30.536 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:30.538 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:30.539 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:30.540 [print] "true";"true";"true" 
* eval db.writeln('"9c4c9bbc-4746-414b-9599-b67db6de1d6d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c4c9bbc-4746-414b-9599-b67db6de1d6d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c4c9bbc-4746-414b-9599-b67db6de1d6d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:30.020 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f874407b-25f9-4c1b-abe6-363467683bb1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f874407b-25f9-4c1b-abe6-363467683bb1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:30.921 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2017/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:30.922 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:30.923 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:30.924 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:30.925 [print] Beheer PDOK 
* print operateson 000ms
04:51:30.926 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:30.928 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:30.930 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:30.931 [print] "true";"true" 
* eval db.writeln('"f874407b-25f9-4c1b-abe6-363467683bb1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f874407b-25f9-4c1b-abe6-363467683bb1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f874407b-25f9-4c1b-abe6-363467683bb1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:30.053 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 001ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
934ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '97590436-ecaf-422b-a95e-6aa9a00b47b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 907ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97590436-ecaf-422b-a95e-6aa9a00b47b0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 003ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:51:30.975 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2018/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 002ms
04:51:30.978 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:30.979 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
04:51:30.980 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 001ms
04:51:30.983 [print] Beheer PDOK 
* print operateson 000ms
04:51:30.983 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:51:30.986 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:30.988 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:30.989 [print] "true";"true" 
* eval db.writeln('"97590436-ecaf-422b-a95e-6aa9a00b47b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"97590436-ecaf-422b-a95e-6aa9a00b47b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"97590436-ecaf-422b-a95e-6aa9a00b47b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:30.328 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'db353b96-5d0b-453c-87c6-4466dfb65a9b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db353b96-5d0b-453c-87c6-4466dfb65a9b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:31.220 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2020/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:31.221 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:31.222 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:31.223 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:31.224 [print] Beheer PDOK 
* print operateson 000ms
04:51:31.225 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:31.227 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:31.228 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:31.230 [print] "true";"true";"true" 
* eval db.writeln('"db353b96-5d0b-453c-87c6-4466dfb65a9b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"db353b96-5d0b-453c-87c6-4466dfb65a9b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"db353b96-5d0b-453c-87c6-4466dfb65a9b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:30.543 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
920ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 895ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:31.450 [print] https:\/\/service.pdok.nl\/rws\/kaderrichtlijnwater\/wms\/v1_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:51:31.452 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:31.453 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:31.454 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:31.456 [print] Beheer PDOK 
* print operateson 000ms
04:51:31.457 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:31.460 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:31.461 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:31.463 [print] "true";"true" 
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:30.935 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:31.828 [print] https://service.pdok.nl/rvo/beschermdegebieden/natura2000/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:31.829 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:31.830 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:31.830 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:31.831 [print] Beheer PDOK 
* print operateson 000ms
04:51:31.831 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:31.833 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:31.834 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:31.835 [print] "true";"true" 
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:30.995 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
918ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '972edbaa-f860-4c48-b449-4f238a263472' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:31.894 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 008ms
* print protocol1 000ms
04:51:31.903 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:31.904 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:31.904 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:31.905 [print] Beheer PDOK 
* print operateson 000ms
04:51:31.905 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 004ms
04:51:31.912 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:31.913 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:31.915 [print] "true";"true" 
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:31.234 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
888ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 868ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:32.114 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:32.115 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:32.116 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:32.117 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:32.118 [print] Beheer PDOK 
* print operateson 000ms
04:51:32.119 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:32.121 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:32.122 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:32.124 [print] "true";"true" 
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:31.468 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
938ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:32.366 [print] https://service.pdok.nl/cbs/hh/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:32.367 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:32.368 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:32.369 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:32.369 [print] Beheer PDOK 
* print operateson 000ms
04:51:32.370 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:32.371 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:32.373 [print] "Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 035ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:32.408 [print] "true";"true";"true" 
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:31.839 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 865ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:32.720 [print] https://service.pdok.nl/cbs/hh/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:32.721 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:32.722 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:32.723 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:32.724 [print] Beheer PDOK 
* print operateson 000ms
04:51:32.724 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:32.727 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:32.729 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:32.730 [print] "true";"true" 
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:31.919 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
928ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 913ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:32.842 [print] https://service.pdok.nl/kadaster/lu/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:32.842 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:32.843 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:32.844 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:32.844 [print] Beheer PDOK 
* print operateson 000ms
04:51:32.845 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:32.846 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:32.847 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:32.848 [print] "true";"true" 
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:32.130 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
960ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 944ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:33.085 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:33.086 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:33.087 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:33.087 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:33.088 [print] Beheer PDOK 
* print operateson 000ms
04:51:33.088 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:33.090 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:33.091 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:33.092 [print] "true";"true" 
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:32.417 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 868ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:33.298 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:33.299 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:33.300 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:33.300 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:33.301 [print] Beheer PDOK 
* print operateson 000ms
04:51:33.302 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:33.303 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:33.304 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:33.305 [print] "true";"true" 
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:32.735 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4041f923-6b77-4816-bf46-437e85416c31' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:33.631 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/wms/v1_0?SERVICE=WMS&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:33.632 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:33.633 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:33.633 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:33.634 [print] Beheer PDOK 
* print operateson 000ms
04:51:33.634 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a33c92d0-e29b-43cb-b681-f942ef597331#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=353108a0-f0f8-4f8e-9d0e-60f18dfda169#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:33.636 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:33.637 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:33.638 [print] "true";"true" 
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:32.852 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
932ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 908ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:33.773 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnwateractueel\/wms\/v1_0?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:33.774 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:33.776 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:33.776 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 003ms
* print organisationpath 000ms
04:51:33.780 [print] Beheer PDOK 
* print operateson 000ms
04:51:33.780 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:33.783 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:33.784 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:33.785 [print] "true";"true" 
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:33.096 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
948ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 934ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:34.040 [print] https://service.pdok.nl/rws/digitaaltopografischbestand/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:34.041 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:34.042 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:34.042 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:34.043 [print] Beheer PDOK 
* print operateson 000ms
04:51:34.043 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:34.044 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:34.045 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:34.046 [print] "true";"true" 
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:33.309 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
893ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:34.197 [print] https://service.pdok.nl/rws/digitaaltopografischbestand/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:34.198 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:34.198 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:34.198 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:34.199 [print] Beheer PDOK 
* print operateson 000ms
04:51:34.199 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:34.201 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:34.202 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:34.203 [print] "true";"true" 
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:33.642 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
912ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 896ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:34.549 [print] https://service.pdok.nl/rvo/natura2000/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:34.550 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:34.550 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:34.551 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:34.551 [print] Beheer PDOK 
* print operateson 000ms
04:51:34.552 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:34.553 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:34.554 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:34.555 [print] "false";"false" 
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:33.790 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:34.684 [print] https://service.pdok.nl/rvo/schelpdierpercelen/wms/v2_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:34.685 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:34.686 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:34.687 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:34.688 [print] Beheer PDOK 
* print operateson 000ms
04:51:34.688 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:34.690 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:34.692 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:34.693 [print] "true";"true" 
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:34.049 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
907ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a57c1e86-becb-4e3f-b0ad-6d02cea5583d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a57c1e86-becb-4e3f-b0ad-6d02cea5583d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:34.949 [print] https://service.pdok.nl/provincies/zwemwaterkwaliteit-provinciaal-rijkswateren/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:34.950 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:34.951 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:34.951 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:34.953 [print] Beheer PDOK 
* print operateson 000ms
04:51:34.953 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df5ee213-e1bd-433b-80f7-4ea20f493ca8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:34.955 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:34.956 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:34.958 [print] "true";"true" 
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:34.207 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:35.103 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:35.104 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:35.104 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:35.105 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:35.105 [print] Beheer PDOK 
* print operateson 000ms
04:51:35.105 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=rorh-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:35.107 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:35.108 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:35.109 [print] "true";"true" 
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:34.559 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
888ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a6341e75-0dff-4948-9317-433324ab483b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 875ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6341e75-0dff-4948-9317-433324ab483b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:35.442 [print] https://service.pdok.nl/provincies/natuurnetwerk-nederland/wms/v1_0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:35.443 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:35.443 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:35.443 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:35.444 [print] Beheer PDOK 
* print operateson 000ms
04:51:35.444 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:35.446 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:35.447 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:35.447 [print] "true";"true" 
* eval db.writeln('"a6341e75-0dff-4948-9317-433324ab483b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a6341e75-0dff-4948-9317-433324ab483b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a6341e75-0dff-4948-9317-433324ab483b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:34.697 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
896ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 872ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 006ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:35.584 [print] https://service.pdok.nl/kadaster/sr/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:35.585 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:35.586 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:35.587 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:35.588 [print] Beheer PDOK 
* print operateson 000ms
04:51:35.589 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:35.591 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:35.593 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:35.594 [print] "true";"true" 
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:34.961 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '589a9223-7588-4cd7-93aa-5373a12d8cea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '589a9223-7588-4cd7-93aa-5373a12d8cea' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:35.852 [print] https://service.pdok.nl/kadaster/hy/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:35.853 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:35.854 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:35.854 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:35.855 [print] Beheer PDOK 
* print operateson 000ms
04:51:35.855 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:35.858 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:35.859 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:35.860 [print] "true";"true" 
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:35.113 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7977f282-433e-41f9-940b-63f5d28ee44c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7977f282-433e-41f9-940b-63f5d28ee44c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:36.012 [print] https://service.pdok.nl/provincies/stiltegebieden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:36.013 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:36.014 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:36.015 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:36.015 [print] Beheer PDOK 
* print operateson 000ms
04:51:36.015 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:36.017 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:36.018 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:36.019 [print] "true";"true" 
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:35.451 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
887ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 869ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:36.330 [print] https://service.pdok.nl/rvo/invasieve-exoten/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:36.331 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:36.332 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:36.332 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:36.334 [print] Beheer PDOK 
* print operateson 000ms
04:51:36.334 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:36.336 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:36.337 [print] "Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:36.339 [print] "true";"true";"true" 
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:35.599 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:36.495 [print] https://service.pdok.nl/rvo/invasieve-exoten/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:36.496 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:36.497 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:36.498 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:36.499 [print] Beheer PDOK 
* print operateson 000ms
04:51:36.499 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:36.501 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:36.502 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:36.503 [print] "true";"true" 
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:35.864 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
937ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '57844c27-ff48-4e0b-9321-174d83829a19' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '57844c27-ff48-4e0b-9321-174d83829a19' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:36.760 [print] https://service.pdok.nl/provincies/wet-ammoniak-veehouderij-gebieden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:36.761 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:36.762 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:36.762 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:36.763 [print] Beheer PDOK 
* print operateson 000ms
04:51:36.763 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 032ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:36.797 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:51:36.799 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:36.800 [print] "true";"true" 
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:36.023 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
914ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82a98057-861b-4c69-9b8e-fe1a7d7bdd29' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82a98057-861b-4c69-9b8e-fe1a7d7bdd29' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 001ms
04:51:36.928 [print] https://service.pdok.nl/provincies/provinciaal-landschapsbeleid/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:36.930 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:36.931 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:36.932 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:36.933 [print] Beheer PDOK 
* print operateson 000ms
04:51:36.933 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:36.936 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:36.937 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:36.939 [print] "true";"true" 
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:36.342 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:37.234 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:37.235 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:37.236 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:37.236 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:37.237 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:37.237 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:37.239 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:37.240 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:37.241 [print] "true";"true" 
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:36.506 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 871ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:37.392 [print] https:\/\/downloads.rijkswaterstaatdata.nl\/bodemhoogte_1mtr_insp 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:37.394 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:37.396 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:37.396 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:37.398 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:37.398 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:37.401 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:37.402 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:37.404 [print] "true";"true" 
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9d9573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:36.809 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:37.701 [print] http:\/\/services.inspire-provincies.nl\/EnvironmentalMonitoringFacilities\/services\/download_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:37.702 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:37.703 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:37.703 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:37.705 [print] Interprovinciaal Overleg 
* print operateson 000ms
04:51:37.705 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:37.707 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:37.708 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:37.709 [print] "false";"true";"true" 
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
010ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:36.956 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 008ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
896ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bbf57a25-0476-4d46-8e68-caaa5864a177' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bbf57a25-0476-4d46-8e68-caaa5864a177' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:37.856 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:37.857 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:37.858 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:37.858 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:37.859 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:37.859 [print] https://haleconnect.com/services/bsp/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:37.861 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:37.862 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:37.862 [print] true 
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:37.244 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:38.142 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:38.143 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:38.144 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:38.144 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:38.145 [print] KNMI 
* print operateson 000ms
04:51:38.145 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:38.146 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:38.147 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:38.148 [print] true 
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:37.408 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:38.306 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:38.307 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:38.308 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:38.309 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:38.310 [print] KNMI 
* print operateson 000ms
04:51:38.310 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:38.313 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:38.314 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:38.315 [print] true 
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:37.713 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
892ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2c2cc118-dee5-448f-9658-e2649bcb7d7f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 877ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2c2cc118-dee5-448f-9658-e2649bcb7d7f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:38.599 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:38.600 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:38.601 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:38.601 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:38.602 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:51:38.602 [print] https://haleconnect.com/services/bsp/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:38.603 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:38.604 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:38.606 [print] true 
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:37.867 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '364c5d7a-d6ec-11ea-87d0-0242ac130003' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 869ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '364c5d7a-d6ec-11ea-87d0-0242ac130003' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:38.746 [print] #notpresent 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:38.746 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:38.747 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:38.748 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:38.748 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:38.749 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=2a379cc6-d16e-11ea-87d0-0242ac130003&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:38.750 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:38.752 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:38.754 [print] "true";"true" 
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:38.152 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:39.050 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:39.050 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:39.051 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:39.051 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 003ms
* print organisationpath 000ms
04:51:39.055 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:39.055 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:39.057 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:39.058 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:39.059 [print] "true";"true";"true" 
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:38.319 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
910ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 895ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:39.226 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/hws\/wm\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:39.227 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:39.227 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:39.228 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:39.228 [print] Rijkswaterstaat 
* print operateson 000ms
04:51:39.229 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:39.230 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:39.231 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:39.232 [print] "true";"true" 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:38.610 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:39.507 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:39.508 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:39.508 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:39.509 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:39.509 [print] Beheer PDOK 
* print operateson 000ms
04:51:39.510 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d78f5e-f4c4-4c92-b866-94eb2cb38516#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=cc931834-5f9a-4106-a3a3-d5bf553b2675#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=917b5ba0-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:39.511 [print] "https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1";"http:\/\/data.europa.eu\/eli\/reg\/2009\/976" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:39.512 [print] "Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:39.513 [print] "true";"true" 
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:38.757 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
922ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 905ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:39.673 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:39.674 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:39.675 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:39.675 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:39.676 [print] Beheer PDOK 
* print operateson 000ms
04:51:39.677 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:39.679 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:39.680 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:39.681 [print] "true";"true" 
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:39.072 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
910ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:39.974 [print] https://service.pdok.nl/rce/ps-ch/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:39.975 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:39.976 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:39.976 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:39.977 [print] Beheer PDOK 
* print operateson 000ms
04:51:39.977 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:39.979 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:39.980 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:39.981 [print] "true";"true" 
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:39.236 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:40.135 [print] https:\/\/service.pdok.nl\/kadaster\/rdinfo\/wfs\/v1_0?request=getcapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:40.137 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:40.138 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:40.138 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:40.140 [print] Beheer PDOK 
* print operateson 000ms
04:51:40.140 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:40.143 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:40.144 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:40.146 [print] "true";"true" 
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:39.517 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
935ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 916ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:40.445 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:40.446 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:40.447 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:40.447 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:40.448 [print] Beheer PDOK 
* print operateson 000ms
04:51:40.448 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:40.450 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:40.451 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:40.452 [print] "true";"true" 
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:39.706 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
931ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:40.607 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
04:51:40.610 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:40.611 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:40.612 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:40.613 [print] Beheer PDOK 
* print operateson 001ms
04:51:40.614 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:40.616 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:40.617 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 021ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:40.639 [print] "true";"true" 
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:39.988 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:40.885 [print] https:\/\/service.pdok.nl\/rce\/ps-ch\/wfs\/v1_0?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:40.886 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:40.887 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:40.887 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:40.888 [print] Beheer PDOK 
* print operateson 000ms
04:51:40.888 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:40.890 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:40.891 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de interoperable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:40.892 [print] "true";"true";"true" 
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:40.150 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3d143d7a-7599-4cda-bcc5-619b6201c47b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d143d7a-7599-4cda-bcc5-619b6201c47b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:41.044 [print] https://service.pdok.nl/provincies/begrenzingen-vergunde-ontgrondingsgebieden-zand-grindwinning/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:41.045 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:41.046 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:41.046 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:41.047 [print] Beheer PDOK 
* print operateson 000ms
04:51:41.047 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58e7dc38-a498-4852-b4ef-908f5baa9056#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:41.048 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:41.049 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:41.050 [print] "true";"true" 
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:40.457 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:41.348 [print] https:\/\/service.pdok.nl\/hwh\/hydrografie\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:41.349 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:41.350 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:41.351 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:41.352 [print] Beheer PDOK 
* print operateson 000ms
04:51:41.352 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:41.354 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:41.355 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:41.360 [print] "true";"true" 
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:40.643 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
896ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 874ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:41.529 [print] https:\/\/service.pdok.nl\/hwh\/wsdiensteninspire\/wms\/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:41.531 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:41.532 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:41.533 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:41.535 [print] Beheer PDOK 
* print operateson 000ms
04:51:41.535 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:41.538 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:41.539 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:41.541 [print] "true";"true" 
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:40.896 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:41.796 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:41.797 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:41.798 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:41.798 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:41.799 [print] Beheer PDOK 
* print operateson 000ms
04:51:41.799 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:41.801 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:41.801 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:41.802 [print] "true";"true" 
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:41.054 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
961ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 945ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:42.010 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:42.011 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:42.012 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:42.012 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:42.013 [print] Beheer PDOK 
* print operateson 000ms
04:51:42.014 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:42.015 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:42.016 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:42.017 [print] "true";"true" 
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:41.364 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 004ms
And param id = '94e5b115-bece-4140-99ed-93b8f363948e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:42.258 [print] https://service.pdok.nl/rws/ahn3/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:42.258 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:42.259 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:42.259 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:42.260 [print] Beheer PDOK 
* print operateson 000ms
04:51:42.260 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:42.262 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:42.263 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:42.264 [print] "true";"true" 
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:41.545 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
890ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736849' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 873ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:42.430 [print] https:\/\/service.pdok.nl\/rws\/nwbvaarwegen\/wms\/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:42.431 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:42.432 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:42.432 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:42.433 [print] Beheer PDOK 
* print operateson 000ms
04:51:42.433 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:42.435 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:42.436 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:42.437 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:41.807 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:42.698 [print] https://service.pdok.nl/rws/nwbwegen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:42.698 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:42.699 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:42.699 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:42.700 [print] Beheer PDOK 
* print operateson 000ms
04:51:42.701 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:42.702 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:42.703 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:42.704 [print] "true";"true" 
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:42.021 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
894ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 870ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 005ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:42.905 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:42.907 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:42.908 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:42.909 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:42.910 [print] Beheer PDOK 
* print operateson 000ms
04:51:42.911 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:42.913 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:42.914 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:42.916 [print] "true";"true" 
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:42.267 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
894ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:43.157 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:43.158 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:43.159 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:43.159 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:43.160 [print] Beheer PDOK 
* print operateson 000ms
04:51:43.160 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:43.161 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:43.162 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:43.163 [print] "true";"true" 
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:42.441 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
893ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:43.329 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/wms/v2_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:43.330 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:43.330 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:43.330 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:43.331 [print] Beheer PDOK 
* print operateson 000ms
04:51:43.331 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:43.333 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:43.334 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:43.335 [print] "true";"true" 
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:42.708 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
918ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:43.619 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/wfs/v2_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:43.620 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:43.621 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:43.621 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:43.621 [print] Beheer PDOK 
* print operateson 000ms
04:51:43.621 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 003ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:43.626 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:43.627 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:43.627 [print] "true";"true" 
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:42.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
906ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 891ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:43.823 [print] https://service.pdok.nl/rvo/nationaleparken/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:43.824 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:43.824 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:43.824 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:43.825 [print] Beheer PDOK 
* print operateson 000ms
04:51:43.825 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:43.827 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:43.828 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:43.829 [print] "true";"true" 
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:43.166 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
944ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 929ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:44.105 [print] https://service.pdok.nl/rvo/nationaleparken/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:44.106 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:44.106 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:44.106 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:44.107 [print] Beheer PDOK 
* print operateson 000ms
04:51:44.107 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:44.109 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:44.110 [print] "Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:44.112 [print] "true";"true";"true" 
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:43.338 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e6c18185-719e-4729-8131-798dd9a69e8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e6c18185-719e-4729-8131-798dd9a69e8d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:44.229 [print] https://service.pdok.nl/provincies/zwemwater-provinciaal-rijkswateren/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:44.230 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:44.232 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:44.233 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:44.234 [print] Beheer PDOK 
* print operateson 000ms
04:51:44.234 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:44.235 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:44.236 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:44.237 [print] "true";"true" 
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:43.631 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
892ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:44.518 [print] https://service.pdok.nl/kadaster/bu/wms/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:44.519 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:44.519 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:44.519 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:44.520 [print] Beheer PDOK 
* print operateson 000ms
04:51:44.520 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:44.522 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:44.523 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:44.524 [print] "true";"true" 
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:43.832 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
935ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 897ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 010ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:44.750 [print] https://service.pdok.nl/rvo/windkaart/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:51:44.753 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 007ms
04:51:44.761 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:44.762 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:44.763 [print] Beheer PDOK 
* print operateson 000ms
04:51:44.764 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:44.766 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:44.767 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:44.769 [print] "true";"true" 
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:44.115 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
919ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2e5571fb-c840-4d84-8224-62ee7293b2b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 899ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2e5571fb-c840-4d84-8224-62ee7293b2b3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:45.024 [print] https://service.pdok.nl/provincies/grondwaterbeschermingsgebieden/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:45.026 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:45.026 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:45.027 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:45.028 [print] Beheer PDOK 
* print operateson 000ms
04:51:45.028 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=666554ed-5106-487d-b4bf-69fbd888a6d7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
04:51:45.033 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:45.035 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:45.036 [print] "true";"true" 
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:44.240 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
935ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ecd65d6f-0249-4c60-85b9-5fd87fbe60c8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 921ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ecd65d6f-0249-4c60-85b9-5fd87fbe60c8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:45.170 [print] https://service.pdok.nl/cbs/wijkenbuurten/2022/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:45.171 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:45.172 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:45.172 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:45.173 [print] Beheer PDOK 
* print operateson 000ms
04:51:45.173 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=70c52fd8-6b2e-42aa-873a-742711903243#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:45.175 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:45.176 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:45.176 [print] "true";"true" 
* eval db.writeln('"ecd65d6f-0249-4c60-85b9-5fd87fbe60c8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ecd65d6f-0249-4c60-85b9-5fd87fbe60c8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ecd65d6f-0249-4c60-85b9-5fd87fbe60c8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:44.527 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fa09603b-d799-4ede-8243-1eb4f654ae75' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 875ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa09603b-d799-4ede-8243-1eb4f654ae75' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:45.411 [print] https://service.pdok.nl/cbs/wijkenbuurten/2022/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:45.412 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:45.413 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:45.413 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:45.414 [print] Beheer PDOK 
* print operateson 000ms
04:51:45.414 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=70c52fd8-6b2e-42aa-873a-742711903243#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:45.416 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:45.417 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:45.418 [print] "true";"true";"true" 
* eval db.writeln('"fa09603b-d799-4ede-8243-1eb4f654ae75","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fa09603b-d799-4ede-8243-1eb4f654ae75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fa09603b-d799-4ede-8243-1eb4f654ae75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
014ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:44.781 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 009ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 002ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
896ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f57bdee7-4027-4aa2-8312-4051b854be3c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f57bdee7-4027-4aa2-8312-4051b854be3c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:45.687 [print] https://service.pdok.nl/rvo/schelpdierpercelen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:45.688 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:45.688 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:45.689 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:45.689 [print] Beheer PDOK 
* print operateson 000ms
04:51:45.690 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:45.691 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:45.692 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:45.693 [print] "true";"true" 
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:45.041 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 874ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:45.926 [print] https:\/\/service.pdok.nl\/rws\/vaarwegmarkeringennld\/wms\/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:45.927 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:45.928 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:45.929 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:45.929 [print] Beheer PDOK 
* print operateson 000ms
04:51:45.930 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:45.932 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:45.933 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:45.934 [print] "true";"true" 
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:45.180 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
915ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 898ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:46.088 [print] https://service.pdok.nl/rvo/mosselzaadinvanginstallaties/wfs/v1_0?service=wfs&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:46.089 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:46.090 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:46.091 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:46.092 [print] Beheer PDOK 
* print operateson 000ms
04:51:46.092 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:46.094 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:46.096 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:46.097 [print] "true";"true" 
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:45.422 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:46.320 [print] https://service.pdok.nl/rvo/mosselzaadinvanginstallaties/wms/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:46.321 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:46.321 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:46.322 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:46.322 [print] Beheer PDOK 
* print operateson 000ms
04:51:46.323 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:46.324 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:46.325 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:46.326 [print] "true";"true" 
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:45.697 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:46.596 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:46.596 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:46.597 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:46.597 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:46.598 [print] Beheer PDOK 
* print operateson 000ms
04:51:46.598 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:46.600 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:46.601 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:46.602 [print] "true";"true" 
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:45.938 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
906ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:46.837 [print] https://service.pdok.nl/rws/verkeersscheidingsstelsel/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:46.838 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:46.839 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:46.840 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:46.840 [print] Beheer PDOK 
* print operateson 000ms
04:51:46.841 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:46.842 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:46.843 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:46.844 [print] "true";"true" 
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:46.101 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 892ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:47.004 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:47.004 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:47.005 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:47.005 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:47.006 [print] Beheer PDOK 
* print operateson 000ms
04:51:47.006 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:47.008 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:47.009 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:47.010 [print] "true";"true" 
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:46.329 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f9b731bb-7929-43e2-b77e-286ee2cc5aaa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f9b731bb-7929-43e2-b77e-286ee2cc5aaa' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:47.227 [print] https://service.pdok.nl/cbs/landuse/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:47.228 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:47.228 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:47.229 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:47.229 [print] Beheer PDOK 
* print operateson 000ms
04:51:47.229 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:47.231 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:47.232 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:47.232 [print] "true";"true" 
* eval db.writeln('"f9b731bb-7929-43e2-b77e-286ee2cc5aaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f9b731bb-7929-43e2-b77e-286ee2cc5aaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f9b731bb-7929-43e2-b77e-286ee2cc5aaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:46.605 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
884ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 871ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:47.484 [print] https://service.pdok.nl/rws/verkeersscheidingsstelsel/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:47.485 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:47.486 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:47.486 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:47.487 [print] Beheer PDOK 
* print operateson 000ms
04:51:47.487 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:47.489 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:47.490 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:47.490 [print] "true";"true";"true" 
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:46.849 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 891ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:47.749 [print] https://service.pdok.nl/rvo/schelpdierpercelen/wfs/v2_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:47.751 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:47.752 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:47.752 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:47.753 [print] Beheer PDOK 
* print operateson 000ms
04:51:47.754 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:47.756 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:47.757 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:47.758 [print] "true";"true" 
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:47.013 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e010ca7e-090b-4e38-9ce3-561dcf94fb63' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e010ca7e-090b-4e38-9ce3-561dcf94fb63' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:47.908 [print] https://service.pdok.nl/rws/geluidbelasting/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:47.909 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:47.910 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:47.910 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:47.910 [print] Beheer PDOK 
* print operateson 000ms
04:51:47.911 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:47.912 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:47.913 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:47.914 [print] "true";"true" 
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:47.236 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:48.124 [print] https://service.pdok.nl/rws/vin/wms/v1_0?request=GetCapabilities&service=WMS&version=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:48.125 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:48.127 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:48.127 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:48.128 [print] Beheer PDOK 
* print operateson 000ms
04:51:48.128 [print] https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:48.130 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:48.130 [print] "Conform verordening";"Conform technische specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:48.131 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:47.494 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
921ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 871ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:51:48.379 [print] https://service.pdok.nl/rws/ahn3/wcs/v1_0?&service=wcs&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:48.380 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:48.381 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:48.382 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:48.383 [print] Beheer PDOK 
* print operateson 000ms
04:51:48.383 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:48.385 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-download-services 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:48.387 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"de service is conform";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 027ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:48.416 [print] "true";"true" 
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:47.761 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:48.654 [print] https://service.pdok.nl/rws/vin/wfs/v1_0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:48.655 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:48.656 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:48.656 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:48.657 [print] Beheer PDOK 
* print operateson 000ms
04:51:48.657 [print] https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:48.659 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 003ms
04:51:48.663 [print] "Conform verordening";"De service voldoet aan de requirements van de invocable conformance class";"Conform technische specificatie";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal simultane requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:48.664 [print] "true";"true";"true" 
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:47.917 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '757a7c50-540d-4105-9135-73f09f700743' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 895ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '757a7c50-540d-4105-9135-73f09f700743' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:48.821 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:48.822 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:48.823 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:48.823 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:48.824 [print] Beheer PDOK 
* print operateson 000ms
04:51:48.824 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:48.825 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:48.826 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:48.827 [print] "true";"true" 
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:48.135 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
939ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '01d4dab6-03ad-4e82-b719-4daf8b96ea14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 922ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01d4dab6-03ad-4e82-b719-4daf8b96ea14' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:49.069 [print] https://service.pdok.nl/kadaster/au/wms/v2_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:49.069 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:49.070 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:49.071 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:49.072 [print] Beheer PDOK 
* print operateson 000ms
04:51:49.072 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:49.073 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:49.074 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:49.075 [print] "true";"true" 
* eval db.writeln('"01d4dab6-03ad-4e82-b719-4daf8b96ea14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"01d4dab6-03ad-4e82-b719-4daf8b96ea14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"01d4dab6-03ad-4e82-b719-4daf8b96ea14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
037ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:48.422 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 036ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
896ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd9cc67ba-5491-4640-86ac-b8d392250270' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd9cc67ba-5491-4640-86ac-b8d392250270' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:49.348 [print] https://service.pdok.nl/bzk/bro-bodemkaart/wms/v1_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:49.350 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:49.351 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:49.351 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:49.352 [print] Beheer PDOK 
* print operateson 000ms
04:51:49.352 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:49.353 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:49.354 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:49.355 [print] "true";"true" 
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:48.668 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
893ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5523cfd7-a72c-409e-a0c7-89b858aafa64' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5523cfd7-a72c-409e-a0c7-89b858aafa64' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:49.556 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:49.556 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:49.557 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:49.557 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:49.558 [print] Beheer PDOK 
* print operateson 000ms
04:51:49.558 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:49.560 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:49.560 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:49.561 [print] "true";"true" 
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:48.831 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
911ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:49.734 [print] https://service.pdok.nl/bzk/bro-hydrogeology/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:49.736 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:49.737 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:49.737 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:49.739 [print] Beheer PDOK 
* print operateson 000ms
04:51:49.739 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:49.741 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:49.743 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:49.744 [print] "true";"true" 
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:49.079 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:49.976 [print] https:\/\/service.pdok.nl\/bzk\/bro-geomorfologischekaart\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:49.977 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:49.977 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:49.978 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:49.978 [print] Beheer PDOK 
* print operateson 000ms
04:51:49.979 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:49.980 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:49.981 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:49.982 [print] "true";"true" 
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:49.359 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4ce823b4-94b4-4d24-8512-519179315878' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4ce823b4-94b4-4d24-8512-519179315878' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:50.254 [print] https://service.pdok.nl/provincies/provinciale-monumenten/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:50.255 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:50.255 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:50.256 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:50.256 [print] Beheer PDOK 
* print operateson 000ms
04:51:50.257 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:50.258 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:50.259 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:50.260 [print] "true";"true" 
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:49.566 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68a42961-ed55-436b-a412-cc7424fd2a6e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 877ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68a42961-ed55-436b-a412-cc7424fd2a6e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:51:50.457 [print] https://service.pdok.nl/rvo/wetlands/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:50.458 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:50.459 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:50.459 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:50.461 [print] Beheer PDOK 
* print operateson 000ms
04:51:50.461 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:50.463 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:50.465 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:50.466 [print] "true";"true";"true" 
* eval db.writeln('"68a42961-ed55-436b-a412-cc7424fd2a6e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68a42961-ed55-436b-a412-cc7424fd2a6e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68a42961-ed55-436b-a412-cc7424fd2a6e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:49.748 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
911ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '85e7cf82-b0f2-45d6-84d4-154e203ebf70' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '85e7cf82-b0f2-45d6-84d4-154e203ebf70' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:50.651 [print] https://service.pdok.nl/rvo/wetlands/wms/v1_0?request=getcapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:50.652 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:50.653 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:50.654 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:50.655 [print] Beheer PDOK 
* print operateson 000ms
04:51:50.655 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:50.657 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:50.659 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Metadata is conform specificatie";"VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Metadata is conform specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:50.660 [print] "true";"true" 
* eval db.writeln('"85e7cf82-b0f2-45d6-84d4-154e203ebf70","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"85e7cf82-b0f2-45d6-84d4-154e203ebf70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"85e7cf82-b0f2-45d6-84d4-154e203ebf70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:49.985 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
912ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:50.889 [print] https://service.pdok.nl/kadaster/tn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:50.890 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:50.891 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:50.891 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:50.892 [print] Beheer PDOK 
* print operateson 000ms
04:51:50.892 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:50.893 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:50.894 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:50.896 [print] "true";"true" 
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:50.263 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
906ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b0119753-5625-4500-9df3-13823ff9868f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:51.160 [print] https://service.pdok.nl/rvo/habitatrichtlijntypen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:51.160 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:51.161 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:51.161 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:51.162 [print] Beheer PDOK 
* print operateson 000ms
04:51:51.162 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 005ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:51.168 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:51.169 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:51.170 [print] "true";"true" 
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:50.474 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
882ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 866ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:51.354 [print] https:\/\/service.pdok.nl\/cbs\/bestandbodemgebruik\/2015\/wms\/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:51.355 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:51.355 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:51.356 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:51.356 [print] Beheer PDOK 
* print operateson 000ms
04:51:51.357 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:51.358 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:51.359 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:51.360 [print] "true";"true" 
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:50.664 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
894ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '33f3b24a-0b34-4153-9930-726d575a04d1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '33f3b24a-0b34-4153-9930-726d575a04d1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:51.553 [print] https://service.pdok.nl/provincies/aardkundige-waarden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:51.553 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:51.554 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:51.554 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:51.555 [print] Beheer PDOK 
* print operateson 000ms
04:51:51.555 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:51.557 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:51.558 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:51.558 [print] "true";"true" 
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:50.901 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:51.800 [print] https://service.pdok.nl/kadaster/gn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:51.801 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:51.802 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:51.802 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:51.803 [print] Beheer PDOK 
* print operateson 000ms
04:51:51.803 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:51.804 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:51.805 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:51.806 [print] "true";"true" 
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:51.173 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '448cc407-e405-4f07-8260-7489ec3b4f14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '448cc407-e405-4f07-8260-7489ec3b4f14' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:52.074 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wms/v1_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:52.075 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:52.075 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:52.076 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:52.076 [print] Beheer PDOK 
* print operateson 000ms
04:51:52.076 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:52.078 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:52.079 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:52.079 [print] "true";"true" 
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:51.363 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
900ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:52.259 [print] https:\/\/service.pdok.nl\/cbs\/bestandbodemgebruik\/2015\/wfs\/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:52.260 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:52.260 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:52.260 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:52.261 [print] Beheer PDOK 
* print operateson 000ms
04:51:52.261 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:52.263 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:52.264 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:52.265 [print] "true";"true" 
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:51.562 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 002ms
And param id = '3bfab77c-1663-4334-b7cb-b972de6096b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3bfab77c-1663-4334-b7cb-b972de6096b1' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:52.458 [print] https://service.pdok.nl/provincies/geluidzones-rondom-vliegvelden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:52.459 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:52.460 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:52.461 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:52.462 [print] Beheer PDOK 
* print operateson 000ms
04:51:52.462 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41023936-009d-48ec-a90d-c966895463c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:52.464 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:52.466 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:52.467 [print] "true";"true" 
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:51.809 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b9fa42a0-41f9-4405-a593-d51721939222' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b9fa42a0-41f9-4405-a593-d51721939222' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:52.702 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wfs/v1_0?request=getCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:52.703 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:52.704 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:52.704 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:52.705 [print] Beheer PDOK 
* print operateson 000ms
04:51:52.705 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:52.706 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:52.707 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:52.708 [print] "true";"true";"true" 
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:52.082 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
914ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 896ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:53.005 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
04:51:53.008 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:53.008 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:53.009 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:53.009 [print] Beheer PDOK 
* print operateson 000ms
04:51:53.010 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:53.012 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:53.013 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:53.014 [print] "true";"true" 
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:52.269 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd556f31b-97f1-467f-9451-096004a30067' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 873ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd556f31b-97f1-467f-9451-096004a30067' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:53.153 [print] https://service.pdok.nl/kadaster/wkpb/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:53.155 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 006ms
04:51:53.162 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:53.163 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:53.164 [print] Beheer PDOK 
* print operateson 000ms
04:51:53.165 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d2ffea6-e7c5-4e29-9474-c13718828779#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:53.167 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"urn:ogc:def:uom:OGC::percent";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:53.173 [print] "Conform verordening";"De service voldoet aan de requirements van de invocable conformance class";"is conform Web Feature Service - 2.0 specificatie";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:53.175 [print] "true";"true";"true" 
* eval db.writeln('"d556f31b-97f1-467f-9451-096004a30067","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d556f31b-97f1-467f-9451-096004a30067","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d556f31b-97f1-467f-9451-096004a30067","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:52.470 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
907ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '56a3a4f1-c1a0-4eb7-9a2b-b84e41f8903b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '56a3a4f1-c1a0-4eb7-9a2b-b84e41f8903b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:53.371 [print] https://service.pdok.nl/kadaster/wkpb/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:53.372 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:53.373 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:53.373 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:53.374 [print] Beheer PDOK 
* print operateson 000ms
04:51:53.374 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d2ffea6-e7c5-4e29-9474-c13718828779#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:53.377 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:53.378 [print] "Conform verordening";"Conform technische specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:53.379 [print] "true";"true" 
* eval db.writeln('"56a3a4f1-c1a0-4eb7-9a2b-b84e41f8903b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"56a3a4f1-c1a0-4eb7-9a2b-b84e41f8903b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"56a3a4f1-c1a0-4eb7-9a2b-b84e41f8903b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:52.711 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
883ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5117ebc1-5a63-439b-b3ca-43b80be804fb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 868ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5117ebc1-5a63-439b-b3ca-43b80be804fb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:53.589 [print] https://service.pdok.nl/kadaster/ad/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:53.590 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:53.591 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:53.591 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:53.592 [print] Beheer PDOK 
* print operateson 000ms
04:51:53.592 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:53.593 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:53.594 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:53.595 [print] "true";"true" 
* eval db.writeln('"5117ebc1-5a63-439b-b3ca-43b80be804fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5117ebc1-5a63-439b-b3ca-43b80be804fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5117ebc1-5a63-439b-b3ca-43b80be804fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:53.017 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:53.912 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:53.913 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:53.914 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:53.914 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:53.915 [print] Beheer PDOK 
* print operateson 000ms
04:51:53.915 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:53.917 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:53.917 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:53.918 [print] "true";"true" 
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:53.178 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
938ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 926ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:54.113 [print] https://service.pdok.nl/rvo/habitatrichtlijnsoorten/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:54.114 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:54.115 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:54.115 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:54.116 [print] Beheer PDOK 
* print operateson 000ms
04:51:54.116 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:54.117 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:54.118 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:54.118 [print] "true";"true" 
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:53.382 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 892ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:54.283 [print] https://service.pdok.nl/rws/weggeg/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:54.284 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:54.285 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:54.285 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:54.285 [print] Beheer PDOK 
* print operateson 000ms
04:51:54.285 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:54.287 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:54.288 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:54.288 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:53.599 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
986ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 963ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766' 010ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:54.581 [print] https://service.pdok.nl/rvo/habitatrichtlijnsoorten/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:54.582 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:54.582 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:54.582 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:54.583 [print] Beheer PDOK 
* print operateson 000ms
04:51:54.583 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:54.585 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:54.586 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:54.586 [print] "true";"true";"true" 
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:53.922 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
887ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'af4841b5-ce83-4edb-af41-429a21140316' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 871ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:54.802 [print] https://service.pdok.nl/rvo/habitatrichtlijntypen/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:54.803 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:54.804 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:54.805 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:54.806 [print] Beheer PDOK 
* print operateson 000ms
04:51:54.806 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:54.808 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:54.809 [print] "Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:54.810 [print] "true";"true";"true" 
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:54.121 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
892ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:55.009 [print] https://service.pdok.nl/bzk/bro-geomorfologischekaart/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:55.009 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:55.010 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:55.010 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:55.011 [print] Beheer PDOK 
* print operateson 000ms
04:51:55.011 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:55.013 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:55.014 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:55.015 [print] "true";"true" 
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:54.292 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7165bb1f-fea6-4f28-b1d2-a2a92a11ea2f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7165bb1f-fea6-4f28-b1d2-a2a92a11ea2f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:55.184 [print] https://service.pdok.nl/rws/vin/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:55.185 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:55.186 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:55.187 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:55.188 [print] Beheer PDOK 
* print operateson 000ms
04:51:55.188 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:55.190 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:55.191 [print] "Conform verordening";"Conform technische specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:55.192 [print] "true";"true" 
* eval db.writeln('"7165bb1f-fea6-4f28-b1d2-a2a92a11ea2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7165bb1f-fea6-4f28-b1d2-a2a92a11ea2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7165bb1f-fea6-4f28-b1d2-a2a92a11ea2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:54.590 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '08a784fe-0da8-4ede-bec9-c28fa81fc11d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '08a784fe-0da8-4ede-bec9-c28fa81fc11d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 003ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:55.485 [print] https://service.pdok.nl/provincies/provinciaal-landschapsbeleid/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:55.486 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:55.486 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:55.486 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:55.487 [print] Beheer PDOK 
* print operateson 000ms
04:51:55.487 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:55.489 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:55.489 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:55.490 [print] "true";"true" 
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:54.813 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b914aa84-1a15-4d6c-950e-00c739946029' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b914aa84-1a15-4d6c-950e-00c739946029' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 001ms
04:51:55.716 [print] https://service.pdok.nl/rvo/restwarmte/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:55.717 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:55.718 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:55.718 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:55.719 [print] Beheer PDOK 
* print operateson 000ms
04:51:55.719 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:55.721 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:55.722 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:55.723 [print] "true";"true" 
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:55.018 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:55.914 [print] https://service.pdok.nl/kadaster/lc/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:55.915 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:55.916 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:55.917 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:55.918 [print] Beheer PDOK 
* print operateson 000ms
04:51:55.918 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:55.920 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:55.922 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:55.923 [print] "true";"true" 
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:55.196 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3262e40f-13d9-47a5-97c0-e461cf837a87' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3262e40f-13d9-47a5-97c0-e461cf837a87' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:56.088 [print] https://service.pdok.nl/rvo/beschermdegebieden/natura2000/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:56.090 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:56.092 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:56.092 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:56.093 [print] Beheer PDOK 
* print operateson 000ms
04:51:56.094 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:56.096 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:56.097 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:56.099 [print] "true";"true" 
* eval db.writeln('"3262e40f-13d9-47a5-97c0-e461cf837a87","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3262e40f-13d9-47a5-97c0-e461cf837a87","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3262e40f-13d9-47a5-97c0-e461cf837a87","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:55.493 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:51:56.389 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/atom/cbsvierkanten100mv2.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 005ms
04:51:56.395 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:56.397 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:56.397 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:56.398 [print] Beheer PDOK 
* print operateson 000ms
04:51:56.399 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:56.401 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:56.402 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:56.404 [print] "true";"true" 
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:55.726 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
906ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:56.624 [print] https:\/\/data.rivm.nl\/geo\/inspire\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:56.627 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:51:56.629 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:56.629 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:51:56.630 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:51:56.630 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:56.632 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:56.633 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:56.634 [print] "true";"true" 
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:55.926 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
910ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2e2c3c53-7987-4026-99fd-df107b1b9a1c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 892ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2e2c3c53-7987-4026-99fd-df107b1b9a1c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:56.830 [print] https://service.pdok.nl/rws/nwbvaarwegen/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:56.831 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:56.832 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:56.832 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:56.833 [print] Beheer PDOK 
* print operateson 000ms
04:51:56.834 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:56.836 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:56.837 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:56.838 [print] "true";"true" 
* eval db.writeln('"2e2c3c53-7987-4026-99fd-df107b1b9a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2e2c3c53-7987-4026-99fd-df107b1b9a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2e2c3c53-7987-4026-99fd-df107b1b9a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:56.103 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7a4c7031-08cf-4bbf-b3dc-179a457b0674' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 872ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a4c7031-08cf-4bbf-b3dc-179a457b0674' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:56.984 [print] https://service.pdok.nl/cbs/statisticalunitsvector/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:56.984 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:56.985 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:56.985 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:56.986 [print] Beheer PDOK 
* print operateson 000ms
04:51:56.986 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:56.987 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:56.988 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:56.989 [print] "true";"true" 
* eval db.writeln('"7a4c7031-08cf-4bbf-b3dc-179a457b0674","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7a4c7031-08cf-4bbf-b3dc-179a457b0674","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7a4c7031-08cf-4bbf-b3dc-179a457b0674","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:56.407 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
893ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2fa191f3-55df-4016-bb08-8da445b952fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2fa191f3-55df-4016-bb08-8da445b952fe' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:57.295 [print] https://service.pdok.nl/rvo/windkaart/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:57.296 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:57.296 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
04:51:57.297 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:57.299 [print] Beheer PDOK 
* print operateson 000ms
04:51:57.300 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:57.301 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:57.302 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:57.303 [print] "true";"true" 
* eval db.writeln('"2fa191f3-55df-4016-bb08-8da445b952fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2fa191f3-55df-4016-bb08-8da445b952fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2fa191f3-55df-4016-bb08-8da445b952fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:56.637 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 904ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:57.549 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Territoriale-Zee-Noordzee-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:57.550 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:57.551 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:57.551 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:57.552 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:57.552 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7fed469a-77e1-4545-a4cb-eedf389d851f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:57.554 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:57.555 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:57.556 [print] "true";"true" 
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:56.842 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
890ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8eb296dd-0e1d-4ed9-be24-297149d770f8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 876ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8eb296dd-0e1d-4ed9-be24-297149d770f8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:57.727 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2015/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:57.728 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:57.729 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:57.729 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:57.730 [print] Beheer PDOK 
* print operateson 000ms
04:51:57.730 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:57.731 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:57.732 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:57.733 [print] "true";"true" 
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:56.992 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
884ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '28e6b45e-7627-454d-99a0-4119bbe1678d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 870ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '28e6b45e-7627-454d-99a0-4119bbe1678d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:57.872 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:57.872 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:57.873 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:57.873 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:57.874 [print] Beheer PDOK 
* print operateson 000ms
04:51:57.874 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:57.876 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:57.877 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:57.878 [print] "true";"true" 
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:57.307 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fa29a28a-57ec-4e4c-82f3-08ddeaf19e61' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa29a28a-57ec-4e4c-82f3-08ddeaf19e61' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 004ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:58.202 [print] https://service.pdok.nl/rws/digitaaltopografischbestand/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:58.203 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:58.203 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:58.203 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:58.204 [print] Beheer PDOK 
* print operateson 000ms
04:51:58.204 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b137b8-2317-42c2-aced-204c4216d68d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:58.206 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:58.207 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:58.207 [print] "true";"true" 
* eval db.writeln('"fa29a28a-57ec-4e4c-82f3-08ddeaf19e61","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fa29a28a-57ec-4e4c-82f3-08ddeaf19e61","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fa29a28a-57ec-4e4c-82f3-08ddeaf19e61","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:57.559 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
900ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:58.454 [print] https://service.pdok.nl/rce/ps-ch/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:51:58.455 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:58.456 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:58.457 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:58.457 [print] Beheer PDOK 
* print operateson 000ms
04:51:58.457 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:58.459 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:58.460 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:58.460 [print] "true";"true" 
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:57.737 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '13e4dff0-1e80-11e2-81c1-0800200c9a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '13e4dff0-1e80-11e2-81c1-0800200c9a66' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:58.631 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:58.632 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:58.633 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:58.633 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:58.634 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:51:58.634 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:58.635 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:58.636 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:58.637 [print] "true";"true" 
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:57.881 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
879ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 865ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:58.756 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-EEZ-volgens-UNCLOS-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:58.757 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:58.757 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:58.758 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:58.758 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:58.758 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3296af93-cc8c-4a24-9356-1f68a57db712#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:58.760 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:58.761 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:58.762 [print] "true";"true" 
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:58.210 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
896ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:59.102 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-aansluitende-zone-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:59.102 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:59.103 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:59.103 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:59.104 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:51:59.104 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=424c1d5c-063b-4372-99f5-c85786b4a9d0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:59.106 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:59.107 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:59.108 [print] "true";"true" 
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:58.464 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fe4b36d5-8f69-403f-b084-ce010a4ae3b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 877ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe4b36d5-8f69-403f-b084-ce010a4ae3b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:59.350 [print] https://service.pdok.nl/rvo/natura2000/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:59.351 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:59.352 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:59.352 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:59.353 [print] Beheer PDOK 
* print operateson 000ms
04:51:59.353 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:59.354 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:59.355 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:59.356 [print] "false";"false" 
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:58.640 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1512b29e-80d4-4677-bcae-a3f9f82a223d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1512b29e-80d4-4677-bcae-a3f9f82a223d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:59.531 [print] https://service.pdok.nl/brt/top10nl/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:59.531 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:59.532 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:59.532 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:59.533 [print] Beheer PDOK 
* print operateson 000ms
04:51:59.533 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=29d5310f-dd0d-45ba-abad-b4ffc6b8785f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:59.535 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:59.535 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:59.536 [print] "true";"true" 
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:58.765 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
890ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f8b4a0b9-9687-435e-a271-c8403dec630e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f8b4a0b9-9687-435e-a271-c8403dec630e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:59.652 [print] https://service.pdok.nl/rvo/habitatrichtlijnsoorten/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:51:59.652 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:51:59.653 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:51:59.653 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:51:59.654 [print] Beheer PDOK 
* print operateson 000ms
04:51:59.654 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:51:59.655 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:51:59.656 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:51:59.657 [print] "true";"true" 
* eval db.writeln('"f8b4a0b9-9687-435e-a271-c8403dec630e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f8b4a0b9-9687-435e-a271-c8403dec630e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f8b4a0b9-9687-435e-a271-c8403dec630e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:59.112 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
892ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:51:59.999 [print] https://service.pdok.nl/kadaster/bu/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:00.000 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:00.001 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:00.001 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:00.002 [print] Beheer PDOK 
* print operateson 000ms
04:52:00.002 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:00.004 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:00.004 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:00.005 [print] "true";"true" 
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:59.360 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b8300fd4-3224-4b44-ae92-3eb82da0bb85' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b8300fd4-3224-4b44-ae92-3eb82da0bb85' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 004ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:00.264 [print] https://service.pdok.nl/rvo/vogelrichtlijnsoorten/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:00.264 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:00.265 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:00.265 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:00.266 [print] Beheer PDOK 
* print operateson 000ms
04:52:00.266 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:00.268 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:00.269 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:00.269 [print] "true";"true" 
* eval db.writeln('"b8300fd4-3224-4b44-ae92-3eb82da0bb85","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b8300fd4-3224-4b44-ae92-3eb82da0bb85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b8300fd4-3224-4b44-ae92-3eb82da0bb85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:59.540 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dc250a60-0ac6-487f-8a42-cb4f67582f34' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dc250a60-0ac6-487f-8a42-cb4f67582f34' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:00.435 [print] https://service.pdok.nl/kadaster/ad/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:00.435 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:00.436 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:00.436 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:00.437 [print] Beheer PDOK 
* print operateson 000ms
04:52:00.437 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:00.438 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:00.439 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:00.440 [print] "true";"true" 
* eval db.writeln('"dc250a60-0ac6-487f-8a42-cb4f67582f34","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dc250a60-0ac6-487f-8a42-cb4f67582f34","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dc250a60-0ac6-487f-8a42-cb4f67582f34","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:51:59.660 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:00.553 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwateractueel/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:00.553 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:00.554 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:00.554 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:00.555 [print] Beheer PDOK 
* print operateson 000ms
04:52:00.555 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ikrw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:00.557 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:00.558 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:00.559 [print] "true";"true";"true" 
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:00.008 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
874ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 855ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
04:52:00.874 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:00.875 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:00.876 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:00.877 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:00.878 [print] Beheer PDOK 
* print operateson 000ms
04:52:00.878 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:00.880 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:00.882 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:00.883 [print] "true";"true" 
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:00.273 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
939ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 035ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:01.202 [print] http://inspire.rdw.nl/www/download/rdw-inspire.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:52:01.204 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:01.205 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:01.206 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:01.207 [print] RDW 
* print operateson 000ms
04:52:01.208 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:01.211 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:01.212 [print] "Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Evaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Gecontroleerd met INSPIRE verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:01.214 [print] "true";"true" 
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:00.444 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
914ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd624bfd0-8f21-44c4-a22c-0f0877a539fc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd624bfd0-8f21-44c4-a22c-0f0877a539fc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:01.332 [print] https://service.pdok.nl/provincies/geluidzones-rondom-vliegvelden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:01.333 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:01.335 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:01.335 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 012ms
04:52:01.348 [print] Beheer PDOK 
* print operateson 000ms
04:52:01.349 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41023936-009d-48ec-a90d-c966895463c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 005ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:01.356 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
04:52:01.358 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:01.360 [print] "true";"true" 
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:00.564 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d7ca7bc-99de-4539-af33-70b206f29355' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 897ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d7ca7bc-99de-4539-af33-70b206f29355' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:01.471 [print] https://service.pdok.nl/kadaster/adressen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:01.472 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
04:52:01.475 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:01.475 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:01.477 [print] Beheer PDOK 
* print operateson 000ms
04:52:01.478 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:01.480 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:01.481 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:01.482 [print] "true";"true" 
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:00.887 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
923ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 902ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 003ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:01.804 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:01.805 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:01.806 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:01.807 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:01.808 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:01.808 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:01.810 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:01.811 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:01.813 [print] "false";"false" 
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:01.219 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a0ad469d-be1b-4d38-b699-faf946666bcc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a0ad469d-be1b-4d38-b699-faf946666bcc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:02.118 [print] https://service.pdok.nl/lv/bag/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:02.119 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:02.120 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:02.120 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:02.120 [print] Beheer PDOK 
* print operateson 000ms
04:52:02.120 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:02.122 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:02.123 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:02.123 [print] "true";"true" 
* eval db.writeln('"a0ad469d-be1b-4d38-b699-faf946666bcc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a0ad469d-be1b-4d38-b699-faf946666bcc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a0ad469d-be1b-4d38-b699-faf946666bcc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:01.376 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
904ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5f0c583a-101e-45ea-b684-a056713cf811' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:02.275 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-baseline-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:02.276 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:02.277 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:02.277 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:02.278 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:52:02.278 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:02.280 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:02.281 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:02.282 [print] "true";"true" 
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:01.486 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:02.384 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:02.385 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:02.385 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:02.385 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:02.386 [print] Beheer PDOK 
* print operateson 000ms
04:52:02.386 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:02.388 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:02.388 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:02.389 [print] "true";"true" 
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:01.816 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
900ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c39474-aef9-4169-95da-9890af440b14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:02.712 [print] https:\/\/data.rivm.nl\/geo\/inspire\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:02.713 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:52:02.715 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:02.715 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:02.715 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:02.715 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:02.717 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:02.718 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:02.719 [print] "true";"true" 
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:02.126 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:03.022 [print] https://acc.gdngeoservices.nl/geoserver/download/oliegas/hydrocarbons.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:03.023 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:03.025 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:03.025 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 001ms
04:52:03.027 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:52:03.028 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:03.030 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:03.031 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:03.032 [print] "true";"true" 
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:02.286 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 868ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:03.164 [print] https://acc.gdngeoservices.nl/geoserver/download/zout/salt.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:03.165 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:03.166 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:03.166 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:03.168 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:52:03.168 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:03.170 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:03.172 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:03.173 [print] "true";"true" 
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:02.393 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c0bef00c-e00c-4004-93c6-7bb8df62ec38' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c0bef00c-e00c-4004-93c6-7bb8df62ec38' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:03.291 [print] https://service.pdok.nl/cbs/landuse/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:03.292 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:52:03.293 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:03.294 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:03.294 [print] Beheer PDOK 
* print operateson 000ms
04:52:03.294 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:03.297 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:03.298 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:03.299 [print] "true";"true" 
* eval db.writeln('"c0bef00c-e00c-4004-93c6-7bb8df62ec38","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c0bef00c-e00c-4004-93c6-7bb8df62ec38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c0bef00c-e00c-4004-93c6-7bb8df62ec38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:02.722 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
893ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '80acf20e-66fd-4276-b218-7a045699245a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80acf20e-66fd-4276-b218-7a045699245a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:03.611 [print] https://service.pdok.nl/rws/geluidbelasting/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:03.612 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:03.612 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:03.613 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:03.613 [print] Beheer PDOK 
* print operateson 000ms
04:52:03.613 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:03.615 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:03.615 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:03.616 [print] "true";"true" 
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:03.036 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:03.935 [print] https://acc.gdngeoservices.nl/geoserver/download/geologicalmap/geologicalmap.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:03.936 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:03.937 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:03.937 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:03.938 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:52:03.938 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:03.939 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:03.940 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:03.941 [print] "true";"true" 
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:03.177 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
953ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 935ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:04.121 [print] https://services.rce.geovoorziening.nl/www/download/nl.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:04.122 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:04.123 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:04.123 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:04.124 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
04:52:04.124 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:04.125 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:04.126 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Open Search mechanisme van het Nationaal Georegister functioneert nog niet naar behoren." 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:04.131 [print] "true";"false" 
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:03.303 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a931e334-b752-4935-8a98-00eddc443789' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 892ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:04.204 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:04.205 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:04.205 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:04.205 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:04.206 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:04.206 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:04.208 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:04.209 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:04.209 [print] "false";"false" 
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:03.619 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:04.515 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:04.516 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:04.517 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:04.517 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:04.518 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:04.518 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:04.520 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:04.521 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:04.522 [print] "false";"false" 
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:03.944 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:04.837 [print] https://service.pdok.nl/hwh/hydrografie/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:04.838 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:04.838 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:04.839 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:52:04.840 [print] Beheer PDOK 
* print operateson 000ms
04:52:04.840 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:04.843 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:04.844 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:04.846 [print] "true";"true" 
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:04.135 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
939ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 867ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 024ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 029ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:05.064 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:05.064 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:05.065 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
04:52:05.066 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
04:52:05.070 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:05.070 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:05.072 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:05.074 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:05.075 [print] "true";"true";"true" 
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:04.213 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
922ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 906ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:05.129 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:05.130 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:05.131 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:05.131 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:05.132 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:05.132 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:05.134 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:05.135 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:05.135 [print] "false";"false" 
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:04.525 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:05.422 [print] https://inspire.caris.nl/geoserver/gn/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:05.423 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:05.424 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:05.424 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:05.425 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:52:05.425 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1c3450ea-e161-4f50-ad0e-97a36cdd1308#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:05.426 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:05.427 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:05.428 [print] "true";"true" 
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:04.850 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:05.744 [print] https://acc.gdngeoservices.nl/geoserver/aardwarmtepotentiekaart/ows?request=GetCapabilities&service=WMS&version=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:05.745 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:05.746 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:05.746 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:05.747 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:52:05.747 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:05.748 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:05.749 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:05.750 [print] "true";"false" 
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:05.079 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
911ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 898ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:05.987 [print] https://service.pdok.nl/rws/nhi/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:05.988 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:05.988 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:05.988 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:05.989 [print] Beheer PDOK 
* print operateson 000ms
04:52:05.989 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:05.990 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:05.991 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:05.992 [print] "true";"true" 
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:05.139 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
984ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 967ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:06.118 [print] https://service.pdok.nl/cbs/wijkenbuurten/2021/wms/v2_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:06.119 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:06.119 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:06.120 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:06.120 [print] Beheer PDOK 
* print operateson 000ms
04:52:06.121 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:06.123 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:06.124 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:06.125 [print] "true";"true" 
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:05.432 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1184b609-bf9e-4ce7-b121-acfc3b5df424' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1184b609-bf9e-4ce7-b121-acfc3b5df424' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:06.332 [print] https://haleconnect.com/ows/services/org.292.5c3d9005-8887-44d9-a72e-96cd0a7fffe4_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:06.333 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:06.334 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:06.334 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:06.335 [print] Rijkswaterstaat 
* print operateson 000ms
04:52:06.335 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6b574ba3-3b1c-4f29-a631-0f160713d96d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:06.336 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:06.337 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:06.338 [print] true 
* eval db.writeln('"1184b609-bf9e-4ce7-b121-acfc3b5df424","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1184b609-bf9e-4ce7-b121-acfc3b5df424","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1184b609-bf9e-4ce7-b121-acfc3b5df424","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:05.753 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
887ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '70bf4086-b557-4803-96d3-6dc397a5b135' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 873ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '70bf4086-b557-4803-96d3-6dc397a5b135' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:06.637 [print] https://inspire.caris.nl/geoserver/baseline/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:06.637 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:06.638 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:06.638 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:06.639 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:52:06.639 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:06.641 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:06.641 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:06.642 [print] "true";"true" 
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:05.995 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b965603f-7354-4d5c-9357-68c1c3777117' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 874ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b965603f-7354-4d5c-9357-68c1c3777117' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:06.880 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2019/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:06.881 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:06.881 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:06.881 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:06.882 [print] Beheer PDOK 
* print operateson 000ms
04:52:06.882 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:06.884 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:06.884 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:06.885 [print] "true";"true" 
* eval db.writeln('"b965603f-7354-4d5c-9357-68c1c3777117","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b965603f-7354-4d5c-9357-68c1c3777117","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b965603f-7354-4d5c-9357-68c1c3777117","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:06.128 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:07.026 [print] https://service.pdok.nl/kadaster/lc/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:07.027 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:07.028 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:07.028 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:07.029 [print] Beheer PDOK 
* print operateson 000ms
04:52:07.029 [print] https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:07.030 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:07.031 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:07.032 [print] "true";"true" 
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:06.342 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
909ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:07.245 [print] https://service.pdok.nl/cbs/pd/wfs/v1_0?service=WFS&request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:07.246 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:07.247 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:07.248 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:07.249 [print] Beheer PDOK 
* print operateson 000ms
04:52:07.249 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:07.250 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs .";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:07.251 [print] "Deze service voldoet aan specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:07.252 [print] "true";"true";"true" 
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:06.646 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 891ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:07.548 [print] https:\/\/service.pdok.nl\/lv\/bag\/wfs\/v2_0?request=getCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:07.549 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:07.550 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:07.550 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:07.551 [print] Beheer PDOK 
* print operateson 000ms
04:52:07.551 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:07.553 [print] "http:\/\/";"";"http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:07.554 [print] "";"Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:07.555 [print] "true";"true";"true" 
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:06.888 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
915ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 894ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 005ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:07.797 [print] https:\/\/service.pdok.nl\/lv\/bag\/wms\/v2_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:07.798 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:07.799 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:07.799 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:07.800 [print] Beheer PDOK 
* print operateson 000ms
04:52:07.800 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:07.802 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:07.803 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:07.804 [print] "true";"true" 
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:07.035 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:07.929 [print] https://data.rivm.nl/geo/inspire/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:07.930 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:07.931 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:07.931 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:07.932 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:07.932 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:07.933 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:07.934 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:07.935 [print] "false";"false" 
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:07.256 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:08.147 [print] https://service.pdok.nl/rvo/windkaart/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:08.148 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:08.149 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:08.149 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:08.150 [print] Beheer PDOK 
* print operateson 000ms
04:52:08.150 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:08.152 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:08.153 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:08.154 [print] "true";"true" 
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:07.559 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1601e160-91e8-4091-9aca-10294f819d42' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 871ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:08.439 [print] https://service.pdok.nl/rvo/beschermdegebieden/natura2000/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:08.440 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:08.440 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:08.440 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:08.441 [print] Beheer PDOK 
* print operateson 000ms
04:52:08.441 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:08.443 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:08.444 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de interoperable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:08.445 [print] "true";"true";"true" 
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:07.808 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
883ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '914a6e0c-2aae-42f8-8425-2a047c245dab' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 869ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '914a6e0c-2aae-42f8-8425-2a047c245dab' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:08.686 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:08.686 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:08.687 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:08.687 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:08.688 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:52:08.688 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:08.690 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:08.690 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:08.691 [print] true 
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:07.938 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:08.828 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:08.829 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:08.830 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:08.830 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:08.831 [print] Beheer PDOK 
* print operateson 000ms
04:52:08.831 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=cc931834-5f9a-4106-a3a3-d5bf553b2675#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d78f5e-f4c4-4c92-b866-94eb2cb38516#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=917b5ba0-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:08.832 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:08.833 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:08.834 [print] "true";"true" 
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:08.157 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 877ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:09.042 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:09.043 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:09.044 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:09.044 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:09.045 [print] Beheer PDOK 
* print operateson 000ms
04:52:09.045 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:09.046 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:09.047 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:09.048 [print] "true";"true" 
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:08.448 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 016ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:09.357 [print] https://service.pdok.nl/kadaster/cp/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:09.359 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:09.360 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:09.360 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:52:09.362 [print] Beheer PDOK 
* print operateson 000ms
04:52:09.362 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:09.364 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:09.365 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:09.366 [print] "true";"true" 
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:08.695 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
939ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 908ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:09.621 [print] https:\/\/geodata.nationaalgeoregister.nl\/plu\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:09.623 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:52:09.625 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:09.625 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:52:09.627 [print] Beheer PDOK 
* print operateson 000ms
04:52:09.627 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:09.631 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:09.634 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:09.636 [print] "true";"true" 
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:08.838 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 873ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:09.722 [print] https://data.rivm.nl/data/inspire/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:09.722 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:09.723 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:09.724 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:09.725 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:09.725 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:09.726 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:09.728 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:09.729 [print] "false";"true";"true" 
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:09.051 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
887ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 871ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:09.931 [print] https://service.pdok.nl/cbs/gebiedsindelingen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:09.933 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:09.934 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:09.934 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:09.935 [print] Beheer PDOK 
* print operateson 000ms
04:52:09.935 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:09.937 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:09.939 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:09.940 [print] "true";"true" 
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:09.370 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
887ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '931b1a00-ad24-4eed-a73c-cb5441056136' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 876ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '931b1a00-ad24-4eed-a73c-cb5441056136' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:10.254 [print] https://service.pdok.nl/rvo/nationaleparken/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:10.255 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:10.255 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:10.256 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:10.256 [print] Beheer PDOK 
* print operateson 000ms
04:52:10.256 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:10.258 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:10.258 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:10.259 [print] "true";"true" 
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:09.639 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47470f53-e0aa-45f3-ada3-ddf130dd54af' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47470f53-e0aa-45f3-ada3-ddf130dd54af' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:10.536 [print] https://service.pdok.nl/cbs/wijkenbuurten/2021/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:10.537 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:10.538 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:10.539 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:10.540 [print] Beheer PDOK 
* print operateson 000ms
04:52:10.540 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:10.542 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:10.543 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:10.544 [print] "true";"true" 
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:09.732 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
893ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 874ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:10.617 [print] https://service.pdok.nl/provincies/zwemwater-provinciaal-rijkswateren/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:10.618 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:10.618 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:10.618 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:10.619 [print] Beheer PDOK 
* print operateson 000ms
04:52:10.619 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:10.625 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:10.626 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:10.628 [print] "true";"true" 
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:09.943 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:10.841 [print] https://service.pdok.nl/kadaster/cp/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:10.841 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:10.842 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:10.842 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:10.843 [print] Beheer PDOK 
* print operateson 000ms
04:52:10.844 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:10.845 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:10.847 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:10.848 [print] "true";"true" 
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:10.262 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2931d583-9633-49d3-ad38-aabea82f6751' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2931d583-9633-49d3-ad38-aabea82f6751' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:11.148 [print] https://service.pdok.nl/bzk/bro-hydrogeology/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:11.149 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:11.150 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:11.151 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:11.152 [print] Beheer PDOK 
* print operateson 000ms
04:52:11.152 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:11.153 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:11.154 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:11.155 [print] "true";"true" 
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:10.548 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
892ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:11.435 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:11.436 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:11.437 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:11.438 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:11.439 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:11.439 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:11.440 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:11.441 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:11.442 [print] "true";"true";"true" 
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:10.631 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47d416f8-76e8-441c-9b19-c8f889dfe62c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47d416f8-76e8-441c-9b19-c8f889dfe62c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:11.526 [print] https://service.pdok.nl/kadaster/gn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:11.527 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:11.528 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:11.528 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:11.530 [print] Beheer PDOK 
* print operateson 000ms
04:52:11.530 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:11.532 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:11.533 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:11.533 [print] "true";"true" 
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:10.851 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:11.746 [print] https://service.pdok.nl/cbs/pd/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:11.747 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:11.748 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:11.748 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:11.749 [print] Beheer PDOK 
* print operateson 000ms
04:52:11.749 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:11.750 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:11.751 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:11.752 [print] "true";"true" 
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:11.158 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be1b57b-2cac-4119-92eb-700346543d47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:12.044 [print] https:\/\/inspire.caris.nl\/geoserver\/boundary\/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:12.045 [print] ["OGC:WFS","INSPIRE Atom"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:12.046 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:12.046 [print] ["OGC:WFS","INSPIRE Atom"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:12.047 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:52:12.047 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dc528841-cb0f-4962-83bc-5c84ca6c4926#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:12.048 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:12.049 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:12.049 [print] "true";"true" 
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:11.445 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '54122631-d343-40be-9c28-e44626b37a0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:12.332 [print] https://service.pdok.nl/cbs/hh/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:12.333 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:12.333 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:12.334 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:12.334 [print] Beheer PDOK 
* print operateson 000ms
04:52:12.334 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:12.336 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:12.337 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:12.337 [print] "true";"true" 
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:11.536 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '95883512-2cc0-476f-8637-6d70709aefaf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95883512-2cc0-476f-8637-6d70709aefaf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:12.424 [print] https://service.pdok.nl/rvo/habitatrichtlijntypen/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:12.425 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:12.425 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:12.425 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:12.426 [print] Beheer PDOK 
* print operateson 000ms
04:52:12.426 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:12.428 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:12.428 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:12.429 [print] "true";"true" 
* eval db.writeln('"95883512-2cc0-476f-8637-6d70709aefaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"95883512-2cc0-476f-8637-6d70709aefaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"95883512-2cc0-476f-8637-6d70709aefaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:11.755 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:12.656 [print] https://service.pdok.nl/provincies/begrenzingen-vergunde-ontgrondingsgebieden-zand-grindwinning/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:12.657 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:12.657 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:12.658 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:12.658 [print] Beheer PDOK 
* print operateson 000ms
04:52:12.658 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58e7dc38-a498-4852-b4ef-908f5baa9056#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:12.661 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:12.662 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:12.663 [print] "true";"true" 
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:12.053 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1196d687-f42c-4992-8030-1b875d62bc74' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1196d687-f42c-4992-8030-1b875d62bc74' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:12.944 [print] https://service.pdok.nl/rws/weggeg/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:12.945 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:12.946 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:12.947 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:12.947 [print] Beheer PDOK 
* print operateson 000ms
04:52:12.948 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:12.949 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:12.950 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:12.952 [print] "true";"true" 
* eval db.writeln('"1196d687-f42c-4992-8030-1b875d62bc74","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1196d687-f42c-4992-8030-1b875d62bc74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1196d687-f42c-4992-8030-1b875d62bc74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:12.341 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
894ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:13.229 [print] https://service.pdok.nl/rvo/invasieve-exoten/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:13.230 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:13.231 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:13.231 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:13.232 [print] Beheer PDOK 
* print operateson 000ms
04:52:13.232 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:13.234 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:13.235 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:13.236 [print] "true";"true" 
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:12.432 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
884ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'aa31349f-9607-4fdb-83ac-732f0b942adc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 869ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aa31349f-9607-4fdb-83ac-732f0b942adc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:13.309 [print] https://service.pdok.nl/provincies/grondwaterbeschermingsgebieden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:13.310 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:13.311 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:13.312 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:13.312 [print] Beheer PDOK 
* print operateson 001ms
04:52:13.313 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=666554ed-5106-487d-b4bf-69fbd888a6d7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:13.315 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:13.316 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:13.317 [print] "true";"true" 
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:12.667 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
900ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '78155dcb-61fa-4c16-896f-637f5936ce6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 875ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '78155dcb-61fa-4c16-896f-637f5936ce6c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 008ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:13.560 [print] https://service.pdok.nl/provincies/zwemwaterkwaliteit-provinciaal-rijkswateren/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:13.561 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:13.562 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:13.562 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:13.563 [print] Beheer PDOK 
* print operateson 003ms
04:52:13.566 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df5ee213-e1bd-433b-80f7-4ea20f493ca8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:13.567 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:13.568 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:13.569 [print] "true";"true" 
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:12.957 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
916ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 900ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:13.866 [print] https://service.pdok.nl/kadaster/hy/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:13.867 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:52:13.869 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:13.870 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:13.871 [print] Beheer PDOK 
* print operateson 000ms
04:52:13.871 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:13.873 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:13.874 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:13.876 [print] "true";"true" 
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:13.239 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
940ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0fa448bb-332b-40b2-adab-13626b29bee6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 922ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0fa448bb-332b-40b2-adab-13626b29bee6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:14.174 [print] https://service.pdok.nl/kadaster/lu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:14.175 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:14.176 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:14.176 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:14.177 [print] Beheer PDOK 
* print operateson 000ms
04:52:14.177 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:14.178 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:14.179 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:14.180 [print] "true";"true" 
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:13.321 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 002ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 001ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cc6f76b2-f28e-4eb3-8d89-d1a6a135c010' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cc6f76b2-f28e-4eb3-8d89-d1a6a135c010' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:14.219 [print] https://service.pdok.nl/rws/nhi/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:14.220 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:14.221 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:14.221 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:14.222 [print] Beheer PDOK 
* print operateson 000ms
04:52:14.223 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:14.225 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:14.226 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:14.227 [print] "true";"true" 
* eval db.writeln('"cc6f76b2-f28e-4eb3-8d89-d1a6a135c010","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cc6f76b2-f28e-4eb3-8d89-d1a6a135c010","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cc6f76b2-f28e-4eb3-8d89-d1a6a135c010","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
007ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:13.577 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 005ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 283ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 1s 269ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:14.862 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:14.863 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:14.864 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:14.864 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:14.865 [print] Beheer PDOK 
* print operateson 000ms
04:52:14.865 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:14.867 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:14.868 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:14.869 [print] "true";"true";"true" 
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:13.879 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 019ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 1s 003ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:14.892 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:14.894 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:14.894 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:14.895 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:52:14.896 [print] Beheer PDOK 
* print operateson 000ms
04:52:14.897 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:14.898 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:14.900 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:14.901 [print] "true";"true" 
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:14.184 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 890ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:15.084 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:15.085 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
04:52:15.086 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:15.086 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:15.087 [print] Beheer PDOK 
* print operateson 000ms
04:52:15.087 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:15.088 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:15.089 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:15.090 [print] "true";"true" 
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:14.231 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0017219b-fb75-47aa-a6bf-496f2514e545' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 877ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0017219b-fb75-47aa-a6bf-496f2514e545' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:15.116 [print] https://service.pdok.nl/provincies/aardkundige-waarden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:15.117 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:15.118 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:15.118 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:15.119 [print] Beheer PDOK 
* print operateson 000ms
04:52:15.119 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:15.120 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:15.121 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:15.122 [print] "true";"true" 
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:14.872 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dbca1cca-a5f9-497f-9947-2638244b194b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dbca1cca-a5f9-497f-9947-2638244b194b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:15.759 [print] https://service.pdok.nl/kvk/overheidsdiensten/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:15.760 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:15.760 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:15.761 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:15.761 [print] Beheer PDOK 
* print operateson 000ms
04:52:15.761 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:15.763 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:15.763 [print] "Conform verordening";"Conform technische specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:15.764 [print] "true";"true" 
* eval db.writeln('"dbca1cca-a5f9-497f-9947-2638244b194b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dbca1cca-a5f9-497f-9947-2638244b194b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dbca1cca-a5f9-497f-9947-2638244b194b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:14.904 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
881ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c651e06-858e-4184-8de3-da9def9c6fd0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 870ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c651e06-858e-4184-8de3-da9def9c6fd0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:15.783 [print] https://service.pdok.nl/bzk/bro-bodemkaart/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:15.783 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:15.784 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:15.784 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:15.785 [print] Beheer PDOK 
* print operateson 000ms
04:52:15.785 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:15.786 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:15.787 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:15.787 [print] "true";"true" 
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:15.093 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
899ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7358a8bc-42db-4eeb-9b3e-a081f7803b45' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7358a8bc-42db-4eeb-9b3e-a081f7803b45' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:15.988 [print] https://service.pdok.nl/kadaster/au/atom/v2_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:15.989 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:15.989 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:15.989 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:15.990 [print] Beheer PDOK 
* print operateson 000ms
04:52:15.990 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:15.991 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:15.992 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:15.993 [print] "true";"true" 
* eval db.writeln('"7358a8bc-42db-4eeb-9b3e-a081f7803b45","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7358a8bc-42db-4eeb-9b3e-a081f7803b45","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7358a8bc-42db-4eeb-9b3e-a081f7803b45","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:15.125 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8fb3a06d-af1a-4da9-a769-41edf3591805' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 884ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8fb3a06d-af1a-4da9-a769-41edf3591805' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:16.016 [print] https://service.pdok.nl/provincies/stiltegebieden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:16.017 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:16.018 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:16.018 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:16.019 [print] Beheer PDOK 
* print operateson 000ms
04:52:16.019 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:16.021 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:16.022 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:16.023 [print] "true";"true" 
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:15.767 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:16.654 [print] https://acc.gdngeoservices.nl/geoserver/download/aardwarmtepotentiekaart/aardwarmte.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:16.655 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:16.656 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:16.656 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:16.657 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:52:16.657 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:16.658 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:16.659 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:16.660 [print] "true";"true" 
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:15.790 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
918ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 906ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:16.704 [print] https://service.pdok.nl/kadaster/sr/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:16.705 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:16.706 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:16.706 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:16.706 [print] Beheer PDOK 
* print operateson 000ms
04:52:16.707 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:16.708 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:16.709 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:16.709 [print] "true";"true" 
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:15.996 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
907ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '15d2aa2a-1e55-4ca4-986b-0d12768675a1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 892ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15d2aa2a-1e55-4ca4-986b-0d12768675a1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:16.896 [print] https://service.pdok.nl/provincies/natuurnetwerk-nederland/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:16.897 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:16.898 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:16.899 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:16.900 [print] Beheer PDOK 
* print operateson 000ms
04:52:16.900 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:16.902 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:16.903 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:16.904 [print] "true";"true" 
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:16.026 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
905ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 889ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:16.924 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:16.925 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:16.926 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:16.927 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:16.928 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:16.928 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:16.930 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:16.932 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:16.933 [print] "true";"true";"true" 
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:16.663 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 002ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 040ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '52d0313e-0d2b-44b4-b51e-d9e504307f70' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 976ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '52d0313e-0d2b-44b4-b51e-d9e504307f70' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 026ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 004ms
* print connectUrl 001ms
04:52:17.682 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:17.684 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 002ms
04:52:17.687 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:17.687 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:17.688 [print] Beheer PDOK 
* print operateson 000ms
04:52:17.689 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 008ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:17.702 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:17.704 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:17.705 [print] "true";"true" 
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:16.712 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
981ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0ae368b9-af1b-4b66-ba87-8d2c8ade22b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 967ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0ae368b9-af1b-4b66-ba87-8d2c8ade22b3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:17.689 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2010/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:17.689 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:17.690 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:17.690 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:17.691 [print] Beheer PDOK 
* print operateson 000ms
04:52:17.691 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:17.693 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:17.694 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:17.695 [print] "true";"true" 
* eval db.writeln('"0ae368b9-af1b-4b66-ba87-8d2c8ade22b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0ae368b9-af1b-4b66-ba87-8d2c8ade22b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0ae368b9-af1b-4b66-ba87-8d2c8ade22b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:16.907 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
900ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 881ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:52:17.799 [print] https://service.pdok.nl/kadaster/tn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:17.801 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:17.804 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:17.804 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:17.806 [print] Beheer PDOK 
* print operateson 000ms
04:52:17.807 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:17.809 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:17.811 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:17.812 [print] "true";"true" 
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:16.936 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
933ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f38ea40d-9029-465c-9db2-c8a3099e21a2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f38ea40d-9029-465c-9db2-c8a3099e21a2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 022ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:17.853 [print] https://service.pdok.nl/provincies/wet-ammoniak-veehouderij-gebieden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:17.854 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 005ms
* print protocol2 000ms
04:52:17.859 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:17.860 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:17.861 [print] Beheer PDOK 
* print operateson 000ms
04:52:17.861 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 002ms
04:52:17.864 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:17.865 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 004ms
04:52:17.870 [print] "true";"true" 
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:17.699 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
889ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 876ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:18.584 [print] https://service.pdok.nl/rvo/schelpdierpercelen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:18.585 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:18.586 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:18.586 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:18.587 [print] Beheer PDOK 
* print operateson 000ms
04:52:18.587 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:18.588 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:18.589 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:18.590 [print] "true";"true" 
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:17.710 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
920ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '838d49cd-bcec-4e92-9172-fabb96c21b3d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 909ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '838d49cd-bcec-4e92-9172-fabb96c21b3d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:18.628 [print] https://service.pdok.nl/kadaster/wkpb/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:18.628 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:18.629 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:18.629 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:18.630 [print] Beheer PDOK 
* print operateson 000ms
04:52:18.630 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d2ffea6-e7c5-4e29-9474-c13718828779#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:18.631 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:18.632 [print] "Conform verordening";"Conform technische specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:18.632 [print] "true";"true" 
* eval db.writeln('"838d49cd-bcec-4e92-9172-fabb96c21b3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"838d49cd-bcec-4e92-9172-fabb96c21b3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"838d49cd-bcec-4e92-9172-fabb96c21b3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:17.817 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 014ms
And param request = 'GetRecordById' 000ms
And param id = '181b54ed-14d2-4fda-bae7-747972340f2f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 877ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '181b54ed-14d2-4fda-bae7-747972340f2f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:18.719 [print] https://service.pdok.nl/provincies/provinciale-monumenten/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
04:52:18.721 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:18.722 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:18.722 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:18.723 [print] Beheer PDOK 
* print operateson 000ms
04:52:18.723 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:18.725 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:18.726 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:18.727 [print] "true";"true" 
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:17.881 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
903ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2751ba40-5100-4186-81be-b7fdee95b49c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2751ba40-5100-4186-81be-b7fdee95b49c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:18.778 [print] https://service.pdok.nl/rvo/wetlands/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:18.779 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:18.780 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:18.780 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:18.781 [print] Beheer PDOK 
* print operateson 000ms
04:52:18.782 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:18.783 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:18.785 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:18.786 [print] "true";"true" 
* eval db.writeln('"2751ba40-5100-4186-81be-b7fdee95b49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2751ba40-5100-4186-81be-b7fdee95b49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2751ba40-5100-4186-81be-b7fdee95b49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:18.593 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
878ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 865ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:19.466 [print] https:\/\/data.rivm.nl\/geo\/inspire\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:19.466 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:19.467 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:19.467 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:19.468 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:19.468 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:19.470 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:19.471 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:19.472 [print] "false";"false" 
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:18.635 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:19.529 [print] https:\/\/data.rivm.nl\/geo\/inspire\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:19.530 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:19.530 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:19.531 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:19.531 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:19.531 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:19.533 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:19.534 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:19.535 [print] "false";"false" 
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:18.731 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
883ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 869ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:19.609 [print] https:\/\/data.rivm.nl\/geo\/inspire\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:19.610 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:19.611 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:19.611 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:19.612 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:19.612 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:19.613 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:19.614 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:19.615 [print] "false";"false" 
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:18.789 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 878ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:19.678 [print] https://service.pdok.nl/kadaster/plu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:19.680 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:19.681 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:19.681 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:19.682 [print] Beheer PDOK 
* print operateson 000ms
04:52:19.683 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:19.685 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:19.686 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:19.688 [print] "true";"true" 
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:19.475 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
898ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:20.366 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:20.368 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:20.368 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:20.369 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:20.370 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:20.370 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:20.372 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:20.373 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:20.375 [print] "false";"false" 
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:19.538 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '252db472-201d-430b-9c55-4d37563787bc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '252db472-201d-430b-9c55-4d37563787bc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:20.434 [print] https://service.pdok.nl/rws/vaarwegmarkeringennld/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:20.436 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:20.436 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:20.436 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:20.437 [print] Beheer PDOK 
* print operateson 000ms
04:52:20.437 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:20.439 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:20.439 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:20.440 [print] "true";"true" 
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:19.618 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '60dc9632-50c8-40b1-ac63-cd91b85352d2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 872ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '60dc9632-50c8-40b1-ac63-cd91b85352d2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:20.500 [print] https://service.pdok.nl/cbs/wijkenbuurten/2021/wfs/v2_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:20.500 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:20.501 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:20.501 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:20.502 [print] Beheer PDOK 
* print operateson 000ms
04:52:20.502 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:20.503 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:20.504 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:20.505 [print] "true";"true";"true" 
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:19.691 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 868ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:20.570 [print] https://www.broinspireservices.nl/wfs/ossosgm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:20.570 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:20.571 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:20.571 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:20.572 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
04:52:20.572 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:20.573 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:20.574 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:20.575 [print] "true";"true" 
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 003ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:20.378 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
890ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 874ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:21.264 [print] https://service.pdok.nl/kvk/overheidsdiensten/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:21.265 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:21.265 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:21.266 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:21.266 [print] Beheer PDOK 
* print operateson 000ms
04:52:21.266 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:21.268 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:21.269 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:21.270 [print] "true";"true" 
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:20.443 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
953ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deaf8380-ad45-48d2-8c3e-81164471bafb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deaf8380-ad45-48d2-8c3e-81164471bafb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 026ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:21.361 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/atom/cbsvierkanten500mv2.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:21.362 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:21.362 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:21.363 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:21.363 [print] Beheer PDOK 
* print operateson 000ms
04:52:21.363 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 031ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:21.396 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:21.397 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:21.398 [print] "true";"true" 
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:20.508 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
923ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ac873153-d885-45e4-b2ab-ad0600d203d3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 887ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac873153-d885-45e4-b2ab-ad0600d203d3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 009ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 011ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:21.425 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:21.426 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:21.427 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:21.427 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:21.428 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:52:21.428 [print] https://haleconnect.com/services/bsp/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:21.430 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:21.431 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:21.433 [print] true 
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:20.581 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
885ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6da29d3a-0e42-4b74-81ef-da707991ae07' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 869ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6da29d3a-0e42-4b74-81ef-da707991ae07' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:21.458 [print] https://service.pdok.nl/cbs/wijkenbuurten/2022/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:21.458 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:21.459 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:21.459 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:21.460 [print] Beheer PDOK 
* print operateson 000ms
04:52:21.460 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=70c52fd8-6b2e-42aa-873a-742711903243#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:21.464 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:21.465 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:21.467 [print] "true";"true" 
* eval db.writeln('"6da29d3a-0e42-4b74-81ef-da707991ae07","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6da29d3a-0e42-4b74-81ef-da707991ae07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6da29d3a-0e42-4b74-81ef-da707991ae07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:21.273 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 003ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
892ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 875ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:22.162 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotorgb\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:22.163 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:22.164 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:22.165 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:22.166 [print] Beheer PDOK 
* print operateson 000ms
04:52:22.166 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4e2bb25e-a5a9-43a7-986a-40e7aea32e38#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:22.168 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:22.169 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:22.170 [print] "true";"true" 
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
015ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:21.401 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 008ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 006ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
923ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 005ms
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 899ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:22.332 [print] https:\/\/service.pdok.nl\/cbs\/pd\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:22.333 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:22.334 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:22.335 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:22.336 [print] Beheer PDOK 
* print operateson 000ms
04:52:22.336 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:22.338 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:22.339 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:22.340 [print] "true";"true" 
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:21.436 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
923ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '71b8214f-7525-45bd-bdee-2c60f32a1725' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 909ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '71b8214f-7525-45bd-bdee-2c60f32a1725' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:22.354 [print] https://service.pdok.nl/rws/nwbwegen/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:22.355 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:22.356 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:22.356 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:22.357 [print] Beheer PDOK 
* print operateson 000ms
04:52:22.358 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:22.360 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:22.361 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:22.362 [print] "true";"true" 
* eval db.writeln('"71b8214f-7525-45bd-bdee-2c60f32a1725","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"71b8214f-7525-45bd-bdee-2c60f32a1725","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"71b8214f-7525-45bd-bdee-2c60f32a1725","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:21.470 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
929ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 917ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:22.397 [print] https:\/\/service.pdok.nl\/kadaster\/rdinfo\/wms\/v1_0?request=getcapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:22.398 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:22.398 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:22.398 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:22.399 [print] Beheer PDOK 
* print operateson 000ms
04:52:22.399 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:22.401 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:22.401 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:22.402 [print] "true";"true" 
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:22.174 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
890ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 876ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:23.059 [print] https:\/\/data.rivm.nl\/geo\/inspire\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:23.060 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:23.061 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:23.061 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:23.061 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:23.061 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:23.064 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:23.065 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:23.066 [print] "true";"true" 
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:22.343 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
893ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8c280cce-ef1b-49b6-93dc-6cee38956101' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8c280cce-ef1b-49b6-93dc-6cee38956101' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:23.232 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2017/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:23.233 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:23.234 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:23.234 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:23.235 [print] Beheer PDOK 
* print operateson 000ms
04:52:23.235 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:23.236 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:23.237 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:23.238 [print] "true";"true";"true" 
* eval db.writeln('"8c280cce-ef1b-49b6-93dc-6cee38956101","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8c280cce-ef1b-49b6-93dc-6cee38956101","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8c280cce-ef1b-49b6-93dc-6cee38956101","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:22.365 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
906ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '280cee65-1b66-4973-a569-75122e0b745b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:23.266 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/wfs/v1_0?SERVICE=WFS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:23.267 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:23.268 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:23.268 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:23.269 [print] Beheer PDOK 
* print operateson 000ms
04:52:23.269 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d78f5e-f4c4-4c92-b866-94eb2cb38516#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=cc931834-5f9a-4106-a3a3-d5bf553b2675#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=917b5ba0-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:23.270 [print] "http:\/\/";"";"http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:23.271 [print] "";"Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:23.272 [print] "true";"true";"true" 
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:22.405 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
917ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ee9e7a1c-b04a-45a9-92a2-99b2ef508529' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 903ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ee9e7a1c-b04a-45a9-92a2-99b2ef508529' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:23.318 [print] https://service.pdok.nl/rvo/vogelrichtlijnsoorten/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:23.319 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:23.319 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:23.320 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:23.320 [print] Beheer PDOK 
* print operateson 000ms
04:52:23.320 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:23.322 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:23.323 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:23.323 [print] "true";"true";"true" 
* eval db.writeln('"ee9e7a1c-b04a-45a9-92a2-99b2ef508529","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ee9e7a1c-b04a-45a9-92a2-99b2ef508529","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ee9e7a1c-b04a-45a9-92a2-99b2ef508529","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:23.069 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
894ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:23.958 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/wms/v1_0?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:23.959 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:23.960 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:23.960 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:23.961 [print] Beheer PDOK 
* print operateson 000ms
04:52:23.962 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:23.963 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:23.964 [print] "Waterschappen Administratieve eenheden INSPIRE";"Technische specificatie waarmee de service volledig conform is";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Deze service voldoet aan de specificaties voor spatial data services";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:23.965 [print] "true";"true";"true" 
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:23.241 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
977ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 956ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:24.207 [print] https://service.pdok.nl/rvo/ps-cdda/wms/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:24.208 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:24.209 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:24.210 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:24.211 [print] Beheer PDOK 
* print operateson 000ms
04:52:24.211 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:24.214 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:24.216 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:24.218 [print] "true";"true" 
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:23.275 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
943ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 925ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 004ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:24.212 [print] https:\/\/data.rivm.nl\/geo\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:24.213 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:24.214 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:24.214 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:24.215 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
04:52:24.215 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:24.217 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:24.218 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:24.219 [print] "true";"true";"true" 
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:23.327 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
918ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 902ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:24.237 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotocir\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:24.238 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:24.239 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:24.239 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:24.240 [print] Beheer PDOK 
* print operateson 000ms
04:52:24.241 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4cfb1469-a152-4ba6-8fe9-4b627acd7ee0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:24.243 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:24.244 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:24.246 [print] "true";"true" 
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:23.968 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 888ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:24.864 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:24.865 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:24.865 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:24.866 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:24.867 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:52:24.867 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:24.869 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:24.870 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:24.871 [print] "true";"true" 
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:24.222 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
914ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1bb6e186-633d-4a05-9fdf-b12a2f21fe6n' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 898ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bb6e186-633d-4a05-9fdf-b12a2f21fe6n' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:25.130 [print] https://haleconnect.com/ows/services/org.292.1bb6e186-633d-4a05-9fdf-b12a2f21fe6f_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:25.132 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:25.133 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:25.133 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:25.134 [print] Rijkswaterstaat 
* print operateson 000ms
04:52:25.134 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1bb6e186-633d-4a05-9fdf-b12a2f21fe6m#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:25.136 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:25.136 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:25.137 [print] "true";"true" 
* eval db.writeln('"1bb6e186-633d-4a05-9fdf-b12a2f21fe6n","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1bb6e186-633d-4a05-9fdf-b12a2f21fe6n","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1bb6e186-633d-4a05-9fdf-b12a2f21fe6n","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:24.222 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
937ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c3955762-73a3-4c16-a15c-f3869487a1eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 923ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3955762-73a3-4c16-a15c-f3869487a1eb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:25.154 [print] https://haleconnect.com/ows/services/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:25.155 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:25.156 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:25.156 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:25.157 [print] Rijkswaterstaat 
* print operateson 000ms
04:52:25.157 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3955762-73a3-4c16-a15c-f3869487a1ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:25.159 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:25.160 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:25.161 [print] "true";"true" 
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:24.249 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
965ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c3955762-73a3-4c16-a15c-f3869487a1ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 951ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3955762-73a3-4c16-a15c-f3869487a1ec' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
04:52:25.209 [print] https://haleconnect.com/ows/services/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:25.210 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:25.211 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:25.211 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:25.212 [print] Rijkswaterstaat 
* print operateson 000ms
04:52:25.212 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3955762-73a3-4c16-a15c-f3869487a1ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:25.213 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:25.214 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:25.215 [print] true 
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c3955762-73a3-4c16-a15c-f3869487a1ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:24.874 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
891ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e0851d2e-c9b2-4a5e-a11d-8925a82c3dae' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 874ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e0851d2e-c9b2-4a5e-a11d-8925a82c3dae' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:25.758 [print] https://haleconnect.com/ows/services/org.292.c4dce550-ea49-11e3-ac10-0800200c9a68_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:25.759 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:25.760 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:25.761 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:25.762 [print] Rijkswaterstaat 
* print operateson 000ms
04:52:25.762 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=891ddc2d-8949-4a45-be96-c65b87c41f13#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:25.763 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:25.764 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:25.767 [print] "true";"true" 
* eval db.writeln('"e0851d2e-c9b2-4a5e-a11d-8925a82c3dae","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e0851d2e-c9b2-4a5e-a11d-8925a82c3dae","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e0851d2e-c9b2-4a5e-a11d-8925a82c3dae","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:25.140 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
902ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e0851d2e-c9b2-4a5e-a11d-8925a82c3daf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e0851d2e-c9b2-4a5e-a11d-8925a82c3daf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:26.037 [print] https://haleconnect.com/ows/services/org.292.c4dce550-ea49-11e3-ac10-0800200c9a68_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:26.038 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:26.039 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:26.039 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:26.040 [print] Rijkswaterstaat 
* print operateson 000ms
04:52:26.040 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=891ddc2d-8949-4a45-be96-c65b87c41f13#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:26.042 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:26.043 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:26.044 [print] true 
* eval db.writeln('"e0851d2e-c9b2-4a5e-a11d-8925a82c3daf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e0851d2e-c9b2-4a5e-a11d-8925a82c3daf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e0851d2e-c9b2-4a5e-a11d-8925a82c3daf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:25.164 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
928ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9f051605-bac9-4486-908d-9ada36c7b16e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 912ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9f051605-bac9-4486-908d-9ada36c7b16e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:26.085 [print] https://service.pdok.nl/cbs/landuse/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
04:52:26.086 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:26.087 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:26.088 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:26.089 [print] Beheer PDOK 
* print operateson 000ms
04:52:26.089 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:26.091 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/availability";"urn:ogc:def:uom:OGC::percent";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/performance";"http:\/\/www.opengis.net\/def\/uom\/SI\/second";"http:\/\/inspire.ec.europa.eu\/metadata-codelist\/QualityOfServiceCriteria\/capacity";"http:\/\/www.opengis.net\/def\/uom\/OGC\/1.0\/unity" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:26.092 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de interoperable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class";"Beschikbaarheid op jaarbasis; uitgedrukt in percentage in tijd";"Gemiddelde response tijd; uitgedrukt in seconden";"Maximum aantal gelijktijdige requests per seconde die aan de performance criteria voldoen; uitgedrukt als aantal requests per seconde" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:26.094 [print] "true";"true";"true" 
* eval db.writeln('"9f051605-bac9-4486-908d-9ada36c7b16e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9f051605-bac9-4486-908d-9ada36c7b16e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9f051605-bac9-4486-908d-9ada36c7b16e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:25.218 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
910ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 895ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:26.121 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:26.122 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:26.123 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:26.124 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:26.125 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:52:26.125 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:26.126 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:26.128 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:26.129 [print] true 
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:25.770 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
979ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '95664230-19bc-4f33-b2cf-10aedbe75c11' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 967ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95664230-19bc-4f33-b2cf-10aedbe75c11' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:26.746 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:26.747 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:26.747 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:26.747 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:26.748 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:52:26.748 [print] https://haleconnect.com/services/bsp/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:26.750 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:26.750 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:26.751 [print] true 
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:26.047 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
894ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd0b1a576-d1c5-47b4-972f-353f37eb1f8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd0b1a576-d1c5-47b4-972f-353f37eb1f8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:26.937 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:26.938 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:26.938 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:26.938 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:26.939 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
04:52:26.939 [print] https://haleconnect.com/services/bsp/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:26.941 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:26.942 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:26.943 [print] true 
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:26.097 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8c61b066-de2a-4b80-bd20-c878e4edae86' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 883ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8c61b066-de2a-4b80-bd20-c878e4edae86' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:26.990 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2019/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:26.992 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:26.993 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:26.993 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:26.995 [print] Beheer PDOK 
* print operateson 000ms
04:52:26.995 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:26.997 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:26.999 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:27.000 [print] "true";"true";"true" 
* eval db.writeln('"8c61b066-de2a-4b80-bd20-c878e4edae86","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8c61b066-de2a-4b80-bd20-c878e4edae86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8c61b066-de2a-4b80-bd20-c878e4edae86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:26.132 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
914ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1bb6e186-633d-4a05-9fdf-b12a2f21fe6o' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 896ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bb6e186-633d-4a05-9fdf-b12a2f21fe6o' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:27.039 [print] https://haleconnect.com/ows/services/org.292.1bb6e186-633d-4a05-9fdf-b12a2f21fe6f_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:27.040 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:27.041 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:27.042 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:27.043 [print] Rijkswaterstaat 
* print operateson 000ms
04:52:27.044 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1bb6e186-633d-4a05-9fdf-b12a2f21fe6m#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:27.046 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:27.047 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:27.048 [print] true 
* eval db.writeln('"1bb6e186-633d-4a05-9fdf-b12a2f21fe6o","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1bb6e186-633d-4a05-9fdf-b12a2f21fe6o","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1bb6e186-633d-4a05-9fdf-b12a2f21fe6o","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:26.754 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
908ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:27.657 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:27.658 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:27.659 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:27.659 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:27.660 [print] Beheer PDOK 
* print operateson 000ms
04:52:27.660 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a33c92d0-e29b-43cb-b681-f942ef597331#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=353108a0-f0f8-4f8e-9d0e-60f18dfda169#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:27.661 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:27.662 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:27.663 [print] "true";"true" 
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:26.946 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
897ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 885ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:27.839 [print] https://inspire.caris.nl/geoserver/tz/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:27.840 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:27.840 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:27.840 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:27.841 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:52:27.841 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7fed469a-77e1-4545-a4cb-eedf389d851f#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:27.843 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:27.843 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:27.844 [print] "true";"true" 
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:27.003 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
901ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 880ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:27.897 [print] https://service.pdok.nl/brt/top10nl/wms/v1_0?service=wms&request=getCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:27.898 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:27.899 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:27.899 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
04:52:27.901 [print] Beheer PDOK 
* print operateson 000ms
04:52:27.901 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:27.903 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:27.905 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:27.906 [print] "true";"true" 
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:27.051 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
890ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b39970a9-e1d7-4a20-9fbd-57661f6d6849' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 876ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b39970a9-e1d7-4a20-9fbd-57661f6d6849' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:27.936 [print] https://service.pdok.nl/cbs/gebiedsindelingen/2018/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:27.937 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:27.938 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:27.938 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:27.939 [print] Beheer PDOK 
* print operateson 000ms
04:52:27.939 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:27.941 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:27.942 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:27.943 [print] "true";"true";"true" 
* eval db.writeln('"b39970a9-e1d7-4a20-9fbd-57661f6d6849","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b39970a9-e1d7-4a20-9fbd-57661f6d6849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b39970a9-e1d7-4a20-9fbd-57661f6d6849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
04:52:27.666 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
895ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 882ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
04:52:28.557 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
04:52:28.558 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
04:52:28.558 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
04:52:28.559 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
04:52:28.559 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
04:52:28.559 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
04:52:28.561 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
04:52:28.562 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
04:52:28.563 [print] "true";"true" 
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms